Forum Discussion
Altera_Forum
Honored Contributor
12 years agoCan the connect() for a TCP client be configured as "blocking" ?
I'm developing a TCP client using NicheStack. Can the connect() for a TCP client be configured as "blocking" ? Currently, if no server is listening for the connection the connect() returns -...
Altera_Forum
Honored Contributor
12 years agoIt's done when you create the socket and I believe it is blocking by default...in most network stacks. Double-check your socket settings.