matthewking
Programmer
Hi,
Im trying to create a socket library which doesn't use TcpClient or TcpListener..
I've written the client, which seems to work fine. On the server side so far I have SocketServer and ClientHandler classes, when the server accepts a connection it passes the socket to a new instance of ClientHandler to manage the io for the socket. But im having various problems, I really need a quality example.
Does anyone know/could post a quick example of a socket server that accepts connections, hands them to a client handler and can send, recieve data? Would be a great help, all I can find is TcpClient, TcpListener examples.
Thanks,
Matt.
Im trying to create a socket library which doesn't use TcpClient or TcpListener..
I've written the client, which seems to work fine. On the server side so far I have SocketServer and ClientHandler classes, when the server accepts a connection it passes the socket to a new instance of ClientHandler to manage the io for the socket. But im having various problems, I really need a quality example.
Does anyone know/could post a quick example of a socket server that accepts connections, hands them to a client handler and can send, recieve data? Would be a great help, all I can find is TcpClient, TcpListener examples.
Thanks,
Matt.