sysread with binary data

2001-11-19 Thread Jason Ostrom
This should be a really simple problem that I am trying to tackle, but I can't get around it right now. I need help being able to read binary data from a network socket, like a byte at a time. Do you know how to do this? I want to read the byte with sysread, and then copy it a byte at a time in

sysread with binary data

2001-11-19 Thread Jason Ostrom
This should be a really simple problem that I am trying to tackle, but I can't get around it right now. I need help being able to read binary data from a network socket, like a byte at a time. Do you know how to do this? I want to read the byte with sysread, and then copy it into an data struct