locked
Can two applications listen to the same port? RRS feed

  • Question

  • Can two applications on the same machine bind to the same port and IP address and listen for incoming connections? The  socket option SO_REUSEADDR is set on the  listen socket before using bind().  But all the incoming socket connection requests is always directed to one of the applications, not both. 
    Sunday, July 22, 2018 6:03 PM

All replies

  • This is a duplicate post.


    Sam Hobbs
    SimpleSamples.Info

    Sunday, July 22, 2018 8:03 PM