public void Read (AsyncCallback readCallback) { stream = client.GetStream(); TCPStreamState state = new TCPStreamState(stream); stream.BeginRead (state.RecvBytes, 0, state.RecvBytes.Length, readCallback, state); }
public void Read(AsyncCallback readCallback) { stream = client.GetStream(); TCPStreamState state = new TCPStreamState(stream); stream.BeginRead(state.RecvBytes, 0, state.RecvBytes.Length, readCallback, state); }