H
Harbinger of Doom
Hello,
I'm currently working on a project that needs to send data over a network
I use the SOCKET datatype to do that.
Everything works perfectly, but there's just one problem:
If I try to connect to server that isn't listening, the connect() function
hangs.
I've been looking for something to set a time-out for the connection, but I
can't seem
to find anything.
Is there some way to set a connection time-out? and if so, how?
thanks in advance
I'm currently working on a project that needs to send data over a network
I use the SOCKET datatype to do that.
Everything works perfectly, but there's just one problem:
If I try to connect to server that isn't listening, the connect() function
hangs.
I've been looking for something to set a time-out for the connection, but I
can't seem
to find anything.
Is there some way to set a connection time-out? and if so, how?
thanks in advance