Find Jobs
Hire Freelancers

Add feature to WebsocketD

$30-250 USD

Abgeschlossen
Veröffentlicht vor fast 9 Jahren

$30-250 USD

Bezahlt bei Lieferung
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.
Projekt-ID: 7973831

Über das Projekt

5 Vorschläge
Remote Projekt
Aktiv vor 9 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
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 Tag
0,0 (0 Bewertungen)
0,0
0,0
5 Freelancer bieten im Durchschnitt $232 USD für diesen Auftrag
Avatar des Nutzers
La propuesta todavía no ha sido proveída
$229 USD in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
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 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
Laurel, United States
5,0
7
Zahlungsmethode verifiziert
Mitglied seit Juni 7, 2015

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.