Transmit Out-of-band data messages in TCP client/server pair

Srinivas Vulpala (
28 Apr 94 02:19:27 GMT

I want to write a client/server pair using OOB data in Python.
It should do the following: When the client reads the input string "OOB"
it should send an out-of-band message to the server.
When the server receives an out-of-band message it should print the message
"out-of-band" on to the output.
I know I have to use either of MSG_OOB or SO_OOBINLINE options in send & recv
system calls.
Please give me the steps need to be written in Python for the above program.
ThanX in advance.

Sridhar. Madduluri