Find Jobs
Hire Freelancers

Add feature to WebsocketD

$30-250 USD

Terminado
Publicado hace casi 9 años

$30-250 USD

Pagado a la entrega
This program will be used on linux. For someone that understands linux + golang, this is probably easy. Unfortunately I do not know golang. The initial code is on github, so I'd appreciate if you fork the project and keep your code on github. Websocketd is a small server program which will take incoming websocket connections and start a shell script with the stdin and stdout connected to the websocket like a pipe (code here: [login to view URL] ). This is a very useful tool, but I would like it modified to allow me to send binary data. Here is how I'd like the new binary data feature to work: - instead of a text websocket, open a binary websocket (I am told this is supported by golang) - when websocketd launches a program, it should create a socketpair (bidirectional pipe) and supply one end as fd=100 for the program. In what follows I will call this extra file descriptor the binfd because I will use it for binary data. - when communicating with the browser (client), websocketd should send/recv binary messages in the format: type (byte), data (arbitrary length) - when receiving from the client: if type=0, send the data to the program's stdin, any other type send as: dataLength(4 bytes), type (byte), data (of specified length) to the program's binfd - when receiving from the program: For each line of text from stdout, send as a message to the client with format: type=0 (byte), data. From binfd, expect the format: dataLength(4 bytes), type (byte), data (of specified length). Send the message: type (byte), data, to the client. I would also like a very simple example javascript "hello world" demonstration of this new feature. When bidding please state if you have go language experience. I need this in 3 days.
ID del proyecto: 7973831

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I have lots of experience with linux, websockets, and javascript. I can get started on this tonight and have it ready for you tomorrow. I don't have much experience with Go Language, but from my research, it looks pretty straight forward. I've cloned the websocketd app and I'm running it on my linux box now, I'm assuming you have some html/javascript UI that connects to a websocketd running bash. How will the UI get the binary data? By opening a local file?
$266 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
5 freelancers están ofertando un promedio de $232 USD por este trabajo
Avatar del usuario
La propuesta todavía no ha sido proveída
$229 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello, your project to execution is interesting to me!! I understand that I am a beginner on freelancer.com but I very need work, I program about 15 years. If you give me mlenky chance to show on what I am capable, you won't be disappointed!
$211 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Laurel, United States
5,0
7
Forma de pago verificada
Miembro desde jun 7, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.