Find Jobs
Hire Freelancers

JAVA socket error recovery

max $5 USD

Completed
Posted about 21 years ago

max $5 USD

Paid on delivery
I have a standalone Java program which uses sockets to get some data. The program should be able to recover from the communication medium (modem, LAN etc) failing or from the other end stopping for some reason. The program loops waiting for the other end or the communication medium to be reestablished. Now, all this works fine IF the communications medium - in my case the modem connection, is up to start with. If then, it fails, then error recovery works fine. If the communication connection is DOWN to start with, then the socket connection never establishes. I would appreciate any help. Following are some code snippets: s = new Socket( host, port ); out = [login to view URL](); in = [login to view URL](); inCmd = new DataInputStream(in); [login to view URL](); [login to view URL](); [login to view URL](); [login to view URL](); [login to view URL](); [login to view URL](); ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform Windows Linux
Project ID: 2906831

About the project

4 proposals
Remote project
Active 21 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
See private message.
$2 USD in 14 days
5.0 (1 review)
0.0
0.0
4 freelancers are bidding on average $3 USD for this job
User Avatar
See private message.
$3.40 USD in 14 days
5.0 (83 reviews)
5.1
5.1
User Avatar
See private message.
$4.25 USD in 14 days
4.8 (18 reviews)
3.3
3.3
User Avatar
See private message.
$4.25 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Carmel Valley, United States
5.0
302
Payment method verified
Member since Jul 1, 2002

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.