Networking Forums

Networking Forums > Computer Networking > Linux Networking > listen() and accept()

Reply
Thread Tools Display Modes

listen() and accept()

 
 
Amit Yadav
Guest
Posts: n/a

 
      01-09-2005, 09:48 AM
Hi,

I am wondering what happens if i create a UDP socket and use listen()
and accept() on it. Will accept() return a copy of the original socket
FD as it does in the case of TCP sockets, or will it return error or
something else will happen ?

Thanks

Amit.

 
Reply With Quote
 
 
 
 
Michael Fuhr
Guest
Posts: n/a

 
      01-09-2005, 02:50 PM
Amit Yadav <(E-Mail Removed)> writes:

> I am wondering what happens if i create a UDP socket and use listen()
> and accept() on it. Will accept() return a copy of the original socket
> FD as it does in the case of TCP sockets, or will it return error or
> something else will happen ?


What happened when you tried it? What problem are you trying to solve?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
 
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
snmp accept from all MSNews Windows Networking 1 09-23-2009 07:29 PM
Do Force9 ever listen? Gareth Edmondson Broadband 20 05-10-2007 07:22 AM
accept trouble stef Linux Networking 1 09-19-2005 11:50 PM
getting client ip before accept? Stephan Dreyer Linux Networking 4 09-26-2004 03:08 AM
OT: BBC radio 'Listen Again' Terry Pinnell Broadband 11 04-22-2004 01:12 PM



1 2 3 4 5 6 7 8 9 10 11