Re: python sockets question

2013-05-15 Thread Andrew Berg
On 2013.05.15 20:47, Eric Miller wrote: > Can python sockets be used to capture IP traffic when the traffic is > originating from a non-python source? Python just exposes the underlying OS socket interface. There is nothing special about sockets in Python. The whole point is to connect heterogene

python sockets question

2013-05-15 Thread Eric Miller
Can python sockets be used to capture IP traffic when the traffic is originating from a non-python source? Using a Lantronix UDS-1100 serial to IP converter. The goal is to write a small proof of concept piece in Python to capture serial data output by this device over IP. I've done a couple t

Re: sockets question

2005-02-25 Thread Artificial Life
On Sat, 26 Feb 2005 00:35:57 -0500, Mohammed Smadi wrote: > hi; > > i have the following piece of code: > = > s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) > s.bind(("",port)) > s.sendto(data,(MY_GW,port)) > data = s.recvfrom(1024) > > > data contains some instr

sockets question

2005-02-25 Thread Mohammed Smadi
hi; i have the following piece of code: = s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) s.bind(("",port)) s.sendto(data,(MY_GW,port)) data = s.recvfrom(1024) data contains some instructions which i am sending to MY_GW. If the reply arrives from the MY_GW quickl