tcp/ip accept not returning, but client does
- by paquetp
server:
vxworks 6.3
calls the usual socket, bind, listen, then:
for (;;)
{
client = accept(sfd,NULL,NULL);
// pass client to worker thread
}
client:
.NET 2.0
TcpClient constructor to connect to server that takes the string hostname and int port, like:
TcpClient client = new TcpClient(server_ip, port);
This is working fine when the…