Sockets won't block
Graeme Defty
gdefty at attglobal.net
Thu Aug 31 09:45:48 PDT 2006
Sorry, guys,
I forgot to add that I am on Windows XP
The output is as follows:
=== Client:
C:>atmsock_tt c 4321
Using port number 4321.
Test begins for client . . .
Done 0
Client created . . .
. . . and bound . . .
. . . and connected.
Far address is 127.0.0.1:1234
Sent (19) 'This is data line 0' and received ''.
ERROR: Sent 'This is data line 0' and received ''.
Client created . . .
etc.
=== end
=== Server:
C:\Documents and Settings\Administrator\My Documents\Projects\atm.d>atmsock_tt s
Using port number 1234.
Test begins for server . . .
Server created . . .
. . . and bound . . .
. . . and listening.
Accepted a connection . . .
Far address is 127.0.0.1:4321
Received data (0) ''.
Sent that data . . .
=== end
Thanks again,
g
More information about the Digitalmars-d-learn
mailing list