En Tue, 17 Feb 2009 03:44:51 -0200, Sambit Samal <sambit2...@gmail.com> escribió:

I am new to Python world

 I need a python script , which binds at a user defind port & sends to
other enity , which waits at particular port.
The other enity will respond & Python script should receive that at the
defined port

The communication will happen over UDP

(I'm rather sure I replied to your first request, but I cannot find my own post anywhere, so I'll try again)

See the SocketServer module: http://docs.python.org/library/socketserver.html -- you may want to use ForkingUDPServer or ThreadingUDPServer. There is a client/server example at the end.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to