SOCKETS...need help

vish707

Member
Joined
Apr 16, 2007
Messages
12
Programming Experience
Beginner
Is there a way of reading data from the socket. I mean if a socket has a packet of data, how can i read that packet's data to create appropriate files?

This is because, i am sending data from remote site, and i have an asynchronous server running. I can detect connections but cannot read the packet from the buffer. The packet's data section has details like time, id number, site number etc, which i need to extract and create files based on the site numbers and date / time as shown in the packet.

PLEASE GUIDE ME!!!
 
Well as far as i understand there is some protocol behind the file transfers right? You would need to know how protocol work to able to make any use of it.
 
Back
Top