Forums Register Login

java socket connection timeout taking more time when running in unix

+Pie Number of slices to send: Send
Hi

i have a code which uses Socket(ipaddress,port) constructor where we give ip and port.
when ever the ip port is not rechable its taking around 3 mins to time out when run in unix environment where as same thing is getting time out instantly in eclipse.

Please help me out with the same is there something explicitly mentioned in the unix env which takes more time to timout of socket connection
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 859 times.
Similar Threads
Help, remote port = 0.
Question about ServerSocket port number and Socket port number
RMI Registry help
need info urgent
[Struts] Error: Cannot find ActionMappings or ActionFormBeans collection
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:35:08.