Setting up python socket server with non-standard termination string.

I

indy1000

Hi,

I'm trying to create a tcp/ip port listening socket server for various
cellular devices that don't use the standard "\r\n" termination string
at the end of their message. Instead, they use "-ND-". Do you know
how I can setup such a server, preferably using either 'socket.py',
'serversocket.py' or 'twisted.py'?

Many thanks,
David Jones
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top