Networking Forums

Networking Forums > Computer Networking > Linux Networking > Calling Listen on UDP Socket

Reply
Thread Tools Display Modes

Calling Listen on UDP Socket

 
 
siva
Guest
Posts: n/a

 
      06-21-2007, 11:32 AM
Hi All,

Can I able to call listen on UDP Socket?
Linux listen man page says, "Listen call applies only to sockets of
type SOCK_STREAM & SOCK_SEQPACKET".

Thanks in Advance!

--Siva

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      06-21-2007, 04:45 PM
siva wrote:
> Hi All,
>
> Can I able to call listen on UDP Socket?
> Linux listen man page says, "Listen call applies only to sockets of
> type SOCK_STREAM & SOCK_SEQPACKET".
>
> Thanks in Advance!
>
> --Siva
>

No - there are no connections to listen for on UDP sockets. You probably
want to use recv() or recvmsg() to read your packets.

Robert
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie:Calling Socket.BeginSend inside SendCallback Navin Mishra Windows Networking 0 04-25-2007 05:37 PM
Test socket on Master Socket not working Kevin Cowans Broadband 14 11-15-2006 09:17 PM
calling connect on UNIXDomain dgram socket failes oliver.kowalke@gmx.de Linux Networking 0 11-25-2005 07:38 AM
10038 Socket Operation on non-socket error Tim G Windows Networking 1 09-26-2004 03:04 PM
WLAN Monitor 10038 Socket operation on non-socket Bill Windows Networking 1 03-01-2004 10:34 PM



1 2 3 4 5 6 7 8 9 10 11