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