mohsher66
March 3rd, 2008, 01:35 PM
hi
im using socket to send text and file to other pc ...the sending is ok ,i mean i make choice for senf text or file...so how can i do in recieve side to know the data received is text or file???
eg.
if (data ==text)
do
else
...
im using socket to send text and file to other pc ...the sending is ok ,i mean i make choice for senf text or file...so how can i do in recieve side to know the data received is text or file???
eg.
if (data ==text)
do
else
...