المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How tcp socket works for read & write both on same port?



C++ Programming
06-24-2011, 10:01 PM
I am trying with tcp sockets. I have one confusion that suppose I open a port (localhost:9200) and if i use that port for reading and writing both then how the same port can be used for that. Will the data collide if I am trying to write on a port and somebody is sending data on that port?