Find Jobs
Hire Freelancers

Web-based TCP client

$30-100 USD

Closed
Posted about 13 years ago

$30-100 USD

Paid on delivery
I want an html (or php) page that connects (and hold the connection) to a TCP port of a remote server. Data or events are sent and received using Javascript functions. ## Deliverables It is okay if the remote server must be the same as the web-server the page is hosted on. You may use JQuery, AJAX, Flash, or suggest other technologies. I do not want the client to have to installing plug-ins other than very standard one such as Flash or Java. I must approve any other technology other than JQuery, AJAX, Flash before accepting your bid. I need these five JavaScript functions: SendPacketTCP(data); CallbackTCP (data); Connected(); ConnectError(cause); ConnectionClosed(cause); SendPacketTCP(data) sends the data to the server and return 1 on success and 0 on error. CallbackTCP(data) is called whenever chr #10 (or zero) is received which is the separator for the data. I prefer the linefeed (chr #10), but chr #0 is also acceptable. Connected() should be called when the connection is made successfully. ConnectError(cause) is called when the connection fails, with the cause of the error (string) as argument. ConnectionClosed(cause) should be called when the connection is lost with the cause (string) as argument. The purpose is to be able to send the information as fast as possible to the web browser WITHOUT sending requests to the server for updates. The client only is required. I already have a TCP server. You do not have to provide a TCP server, but be able to test the work without me providing you with a TCP server. The connection has to be initiated when the page loads. Whenever the connection is lost, it must attempt to reconnect immediately. Whenever the connection fails, it must attempt to reconnect every 10 seconds.
Project ID: 3119280

About the project

6 proposals
Remote project
Active 13 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
6 freelancers are bidding on average $64 USD for this job
User Avatar
See private message.
$85 USD in 5 days
4.8 (43 reviews)
6.5
6.5
User Avatar
See private message.
$93.50 USD in 5 days
5.0 (6 reviews)
4.0
4.0
User Avatar
See private message.
$63.75 USD in 5 days
4.1 (8 reviews)
3.3
3.3
User Avatar
See private message.
$28.05 USD in 5 days
4.9 (10 reviews)
2.8
2.8
User Avatar
See private message.
$38.25 USD in 5 days
5.0 (1 review)
0.0
0.0
User Avatar
See private message.
$76.50 USD in 5 days
0.0 (2 reviews)
0.0
0.0

About the client

Flag of CANADA
Ottawa, Canada
4.7
6
Member since Feb 9, 2006

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.