Find Jobs
Hire Freelancers

Add feature to WebsocketD

$30-250 USD

Ολοκληρώθηκε
Αναρτήθηκε περίπου 9 χρόνια πριν

$30-250 USD

Πληρωμή κατά την παράδοση
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.
Ταυτότητα εργασίας: 7973831

Σχετικά με την εργασία

5 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 9 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
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 σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
5 freelancers δίνουν μια μέση προσφορά $232 USD για αυτή τη δουλειά
Avatar Χρήστη
La propuesta todavía no ha sido proveída
$229 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
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 σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
Laurel, United States
5,0
7
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Ιουν 7, 2015

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.