networking - what messages could be delivered to socket that is only used for sending -


in our application have udp socket(s) used send packets (these sockets never read, , never bound port). sockets "connected" destination address. there messages icmp etc conceivably directed @ these ports , delivered receive buffers of these sockets? if types of messages occur?

(these sockets never read, , never bound port).

they bound port when call connect() if not bound.

are there messages icmp etc conceivably directed @ these ports

yes. icmp unreachable start.

and delivered receive buffers of these sockets?

no. icmp unreachable cause exception next time use socket.

if types of messages occur?

none. if getting data in socket send buffer, sending udp datagrams. in fact connect target sending udp datagrams.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -