[Gllug] OT: Socket Programming

Mick Farmer mick at dcs.bbk.ac.uk
Mon Jan 22 13:51:59 UTC 2007


Dear GLLUGers,

I'm writing a connectionless UDP server.  If I use the
recv() function to obtain the next packet, is it possible to
identify the client via the socket descriptor?

Is it only possible by using recvfrom()?

Regards,

Mick               /"\                      
                   \ /                      
Linux Registered    X  ASCII Ribbon Campaign
User #287765       / \ Against HTML Mail
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list