udp/tcp

This is a discussion on udp/tcp within the Windows Programming forums, part of the Platform Specific Boards category; when i bind a udp socket it also setup a lessening tcp socket. Code: C:\WINDOWS>netstat -an Active Connections Proto Local ...

  1. #1
    Nor
    Nor is offline
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299

    udp/tcp

    when i bind a udp socket it also setup a lessening tcp socket.

    Code:
    C:\WINDOWS>netstat -an
    
    Active Connections
    
      Proto  Local Address          Foreign Address        State
      TCP    0.0.0.0:8888           0.0.0.0:0              LISTENING
      UDP    0.0.0.0:8888           *:*
    anyway to stop this?

  2. #2
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186
    Post code; bind()ing a UDP socket really shouldn't spawn a listening socket running a totally different protocol.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21