vish707 0 Newbie Poster

Hi,
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 packets 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!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.