Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java Socket bind() and connect() method

807605Aug 11 2007 — edited Sep 23 2007
Hi,

I'm running a windows xp machine and have set it up (using the raspppoe protocol) to make simultaneous dial-up connections to the internet. Each of these dial-up connections then has its own IP address.

When I create a new Socket, bind it to one of these IP addresses and invoke the connect() method (to a remote host), the socket times out. Only when i bind it to the most recent dial-up connection that has been established, the socket connects.

I'm welcome for any ideas :)
thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 21 2007
Added on Aug 11 2007
21 comments
1,204 views