home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / protocol / tcpip / 4296 < prev    next >
Encoding:
Text File  |  1992-09-03  |  912 b   |  23 lines

  1. Newsgroups: comp.protocols.tcp-ip
  2. Path: sparky!uunet!spool.mu.edu!sdd.hp.com!uakari.primate.wisc.edu!hp9000.csc.cuhk.hk!cucs5.cs.cuhk.hk!wmchung
  3. From: wmchung@eng.ie.cuhk.hk (chung wai man)
  4. Subject: UDP Send Problem
  5. Message-ID: <1992Sep3.084030.3092@cucs5.cs.cuhk.hk>
  6. Sender: news@cucs5.cs.cuhk.hk
  7. Organization: Faculty of Engineering, The Chinese U. of Hong Kong
  8. Date: Thu, 3 Sep 1992 08:40:30 GMT
  9. Lines: 12
  10.  
  11. Hi! I am facing a problem using UDP sockets. I have set the socket to be
  12.  non-blocking. When I use recvfrom() call to receive packets, when nothing
  13. is on the socket, the call fails and return -1. After the failure of 
  14. recvfrom(), I cannot send a packet of 4 bytes only. The errno returned is 35,
  15. meaning that the operation should be blocking.
  16.  
  17. I am really headached over this problem. I welcome any insights, solution or
  18. comments to me.
  19.  
  20. Pls email directly to me: wmchung@eng.ie.cuhk.hk
  21.  
  22. Thanks a lot!
  23.