Find Jobs
Hire Freelancers

Add feature to WebsocketD

$30-250 USD

Completed
Posted almost 9 years ago

$30-250 USD

Paid on delivery
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.
Project ID: 7973831

About the project

5 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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 in 1 day
0.0 (0 reviews)
0.0
0.0
5 freelancers are bidding on average $232 USD for this job
User Avatar
La propuesta todavía no ha sido proveída
$229 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
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 in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Laurel, United States
5.0
7
Payment method verified
Member since Jun 7, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.