M
Mahesh
Hi am trying to receives UDP pockets , but it is blocking in the
"Socket.Receive" can any one help me to find the problem...?
byte[] buffer = new byte[50];
Socket socket = new Socket(AddressFamily.InterNetwork,
SocketType.Dgram,ProtocolType.Udp);
socket.Bind(new IPEndPoint(IPAddress.Any, 5703));
int byterx = socket.Receive(buffer, 0, 1, SocketFlags.None);
Console.WriteLine(byterx.ToString());
"Socket.Receive" can any one help me to find the problem...?
byte[] buffer = new byte[50];
Socket socket = new Socket(AddressFamily.InterNetwork,
SocketType.Dgram,ProtocolType.Udp);
socket.Bind(new IPEndPoint(IPAddress.Any, 5703));
int byterx = socket.Receive(buffer, 0, 1, SocketFlags.None);
Console.WriteLine(byterx.ToString());