Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java socket

Status
Not open for further replies.

transtech

Programmer
Aug 21, 2001
23
0
0
US
Hi All,

I want to create an unconnected socket using jdk1.3 (Socket())so i can set the timeout function before i try to make a connection, but the default constructor is protected, Can anyone tell how to do it?

Thanks!

Transtech
 
You don't need to do this. You can create a connected socket and then set the timeout after construction.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top