examples/guide/tutorial on UDP sockets?

examples/guide/tutorial on UDP sockets?

Post by Bjorn Lindgre » Sun, 27 Dec 1998 04:00:00



Hi, does anyone know where to find example sources (UNiX, C)
on how to do client/server with UDP sockets?

server : just open a listening UDP socket and dump text being read to stdout.
client : send some text to the UDP server socket.

Anyone know/have example source or guide/tutorials demonstrating this?

/Bjorn.L
bjorn(e)goatnet.ml.org

 
 
 

examples/guide/tutorial on UDP sockets?

Post by Bjorn Lindgre » Sun, 27 Dec 1998 04:00:00



> Hi, does anyone know where to find example sources (UNiX, C)
> on how to do client/server with UDP sockets?
> server : just open a listening UDP socket and dump text being read to stdout.
> client : send some text to the UDP server socket.
> Anyone know/have example source or guide/tutorials demonstrating this?

Forget about it, found some great examples at
ftp://ftp.zymsys.com/pub/sockets/examples.tar.gz

/Bjorn.L
bjorn(e)goatnet.ml.org

 
 
 

examples/guide/tutorial on UDP sockets?

Post by pe.. » Wed, 30 Dec 1998 04:00:00



> Hi, does anyone know where to find example sources (UNiX, C)
> on how to do client/server with UDP sockets?

The book "Unix tcp/ip programming" by richard stevens.

Or join one of my classes :-)

Peter h

Quote:> server : just open a listening UDP socket and dump text being read to stdout.
> client : send some text to the UDP server socket.
> Anyone know/have example source or guide/tutorials demonstrating this?
> /Bjorn.L
> bjorn(e)goatnet.ml.org

--
--
Peter H?kanson            Phone +46 0708 39 23 04
Network Management AB     Fax   +46 031 779 7844
Email : use peter (at) gbg (dot) netman (dot) se  No copy to sanford wallace!