• Post Reply Bookmark Topic Watch Topic
  • New Topic

read/write from/to socket --urgent

 
prabhu das
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
Can i read/write from/to socket simultaneously.
for example - can i write data to socket when iam reading it?
 
Giovanni De Stefano
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you can, as long as you use 2 threads: one for reading and one for writing for both client and server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!