How to find UDP socket is closed in client and server program in C



In tcp/ip we can find socket is close by recv( ) returns zero but in
UDP how to find socket is closed other end in client and server program
in C

.



Relevant Pages

  • RE: UDP recvfrom
    ... You want a UDP socket client and server programming guide in your case. ...
    (microsoft.public.win32.programmer.networks)
  • Re: UDP client/server problem: please help!
    ... the client shall not communicate anything to the server which shall ... When the client receives data, ... create a ListenSocket socket ... Listen only applies to TCP/IP, not UDP, and is therefore inappropriate. ...
    (microsoft.public.vc.mfc)
  • Re: CAsyncSocket Assertion When Terminating
    ... whatever only one client might exist. ... you would have a 'UDP receive socket'. ... I'm just doing the server side - receiving UDP datagrams. ... I use stream flow with CSocket. ...
    (microsoft.public.vc.mfc)
  • Re: [Winsock UDP] Why .Close to avoid Err 40020?
    ... of UDP probably happens when you send your first data). ... the client must close the socket before sending data ... Dim strDataIn As String ... Here's the client part: ...
    (microsoft.public.vb.general.discussion)
  • Re: UDP recvfrom
    ... You want a UDP socket client and server programming guide in your case. ...
    (microsoft.public.win32.programmer.networks)