Can two different UDP socket in a system bind same port?

Posted by swift on Stack Overflow See other posts from Stack Overflow or by swift
Published on 2010-05-05T10:24:44Z Indexed on 2010/05/05 10:28 UTC
Read the original article Hit count: 205

Filed under:
|

I have an application which uses UDP connection, now when i try to run the app more than once its throwing me an exception

java.net.BindException: Address already in use: Cannot bind

but in my another app, which uses tcp connection, i can open two instance of the same app and its working fine. why this error only with UDP connection?

© Stack Overflow or respective owner

Related posts about java

Related posts about sockets