Hi Ronak, can you give us the exception including the stack trace, and if possible an excerpt from your code showing where the exception was thrown?My powers of divination, unfortunately, are no longer what they were. - Peter
posted 17 years ago
java.net.BindException: Cannot assign requested address: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at chkSocket.run(chkSocket.java:79) at java.lang.Thread.run(Unknown Source) java.net.BindException: Cannot assign requested address: connect Program is working ok if i do not use Thread.But i got this bindexception when i use Threadd.
Live ordinary life in an extraordinary way. Details embedded in this tiny ad: