udpclient Questions

1

I am trying to implement P2P with Hole Punching. Here is the flow: Both Peers(P1,P2) will send 1 packet to server(S). Server(S) replies back to both telling others IP:PORT P1 and P2 receive this ...
Coffer asked 19/7, 2012 at 9:20

1

Solved

In my WPF 4.0 application, I have a UDP listener implemented as shown below. On my Windows 7 PC, I'm running both server and client on localhost. Each received datagram is a scanline of a larger b...
Picrite asked 28/8, 2013 at 9:14

3

Solved

I've the following code to read multicast message coming from the network, for a specified IP+Port private static void ReceiveMessages(int port, string ip, CancellationToken token) { Task.Factory...
Gate asked 7/3, 2013 at 7:39

2

Solved

I am trying to send UDP datagrams from a UdpClient on Windows XP to a device, but it is not responding. When I look at that traffic in Wireshark, I see that my outbound packets are bad, because all...
Aimo asked 11/7, 2012 at 13:39

2

Solved

I am developing an action multiplayer game with the help of the System.Net.Sockets.UdpClient class. It's for two players, so one should open a server and wait for incoming connections. The other p...
Ethmoid asked 11/5, 2011 at 13:13

2

Solved

Consider the following code: client.Send(data, data.Length, endpoint); byte[] response = client.Receive(ref endpoint); While, according to WireShark (network sniffer), the remote host does reply...
Balladmonger asked 21/10, 2008 at 13:2

1

Solved

I'm writing a simple P2P application to test the feasibilty of using UDP hole-punching in a larger project. I tried my test apps from home yesterday and they worked. However, I am now at work an...
Phylloquinone asked 20/12, 2010 at 11:33

3

Solved

I am creating a client server application using c sharp. The server is using tcplistener with fixed port number. the client connect to the server using tcpclient. Once connected, both client ...
Prenotion asked 6/11, 2010 at 2:36

1

how can I parse a UDP packet in .NET? I'm using PCap.Net to capture packets, in this case UDP packets, which I can access from the PCap.net object via (PcapDotNet.packets.Ethernet.IpV4.Udp). How...
Conformist asked 19/8, 2010 at 3:40

1

Solved

I wanted to send UdpPacket to a specific remote host (I already know the public IP and Port). I wanted to use C#'s UdpClient class. static int Main() { UdpClient client = new UdpClient(); IPEndP...
Meadors asked 21/7, 2010 at 8:48

1

I am implementing a UDP data transfer thing. I have several questions about UDP buffer. I am using UDPClient to do the UDP send / receive. and my broadband bandwidth is 150KB/s (bytes/s, not bps)....
Exegetic asked 8/3, 2010 at 15:30

2

I am trying to send a string HI to a server over UDP in a particular port and then to receive a response. However, after I try to get the response using recvfrom() I was stuck in blocking state. I ...
Dewey asked 3/3, 2010 at 15:12

3

Solved

Trying to unicast packets to available networks. There are totally 3 networks. Managed to get packets in only one network.But i am not able to receive the packets in different networks. using this...
Voleta asked 8/7, 2009 at 6:58

© 2022 - 2024 — McMap. All rights reserved.