Re: Winsock buffer question
Hi,
I'm not sure what you're doing or trying to do, but...
(a) why don't you post some code so we can see
(b) maybe one of the processes die and that results to closing the socket
(c) are the synchronization between the two processes OK? What I mean is are both trying to read or write at the same time?
(d) The easy part is creating the buffer, which can be any data structure, an array of chars or ints a struct etc...just call send() with the cast operator and pass the address and size of the data structure you choose to send.
Reading from a socket is just as easy.
Post again.
HTH