client.
server code:
http://play.golang.org/p/674MybCISh
client code:
http://play.golang.org/p/ND8T_UcZdR
when they are running, cpu will reach to 100%.After print some messages ,
server will print ' WSARecv tcp 127.0.0.1:20006: An existing connection
was forcibly closed by the remote host.
And the client also print ' ConnectEx tcp: No connection could be made
because the target machine actively refused it '.
The code has any problem? Thanks
golang version :1.3
OS: win7 64bit
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.