Transfer files and message over a single socket at the same time?
Joined: Mar 22, 2009
I want to know if its possible to use the same socket to transfer two things at the same time.
I was developing a chat, now I want to implement the FTP function in it, that is, unable a user to both chat and send a file. What must I do, i have already implemented the chat part, but I am not sure , whether to create a new socket, or new streams or just use the same streams as above.