I am relatively new to socket programming. I am currently trying examples provided with boost::asio. I have a general question about sockets.
Lets say I am connecting a remote endpoint using tcp::socket.connect(endpoint,error) function. Can I both send and receive using the same socket object or do I have to create another socket object to send the data?
Thanks, Devendra