Re: Beginner question: binary data and socket.send

2009-12-21 Thread Stephen Hansen
On Mon, Dec 21, 2009 at 3:31 PM, Boris Epel wrote: > Hi! Please help with the problem: > send over TCPIP data packet organized as 6 bytes of identifier, > integer (LSB) and length of following binary data, binary data > the clear part:  create socket, connect it, use send, close socket > the uncle

Beginner question: binary data and socket.send

2009-12-21 Thread Boris Epel
Hi! Please help with the problem: send over TCPIP data packet organized as 6 bytes of identifier, integer (LSB) and length of following binary data, binary data the clear part: create socket, connect it, use send, close socket the unclear part: create string with required data to use with send wh