Code:
soc.EndAccept(IAsyncResult result)
Is there any alternative to get the adress of the remote user without calling this method?
This is what I use
Code:
public class Wrapper
{
public byte[] buffer;
public Socket _socket;
public object connector;
}
private void AcceptConnections(IAsyncResult result)
{
Wrapper wr = result.AsyncState as Wrapper;
[B] [COLOR="Red"]wr._socket = _socket.EndAccept(result);[/COLOR][/B]
//receive data
//send data for a new connection
//accept new connections
}






