ok question
(both server and client)
set up server to listen for incoming connections/data
on the client side, i open socket, bind it etc.
i then send data,
can i just keep sending data, or do i have to re-connect to resend again?
This is a discussion on windows winsock within the Networking/Device Communication forums, part of the General Programming Boards category; ok question (both server and client) set up server to listen for incoming connections/data on the client side, i open ...
ok question
(both server and client)
set up server to listen for incoming connections/data
on the client side, i open socket, bind it etc.
i then send data,
can i just keep sending data, or do i have to re-connect to resend again?
You keep sending and receiving until one end decides to close the connection.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.