datagram Questions

2

Solved

I'm implementing a small application using UDP (in C). A server sends to a client the data from a given file in chunks of given amount (ex. 100 bytes / call). The client downloads the file and save...
Alternation asked 16/3, 2013 at 7:46

4

Solved

I'm programming a networking program in java , and I want to send some Packets to 255.255.255.255, but it fails , even when I send them to 192.168.1.255, which according to the output of ifconfig c...
Mirador asked 5/7, 2011 at 7:42

2

Solved

I'm trying to send a DatagramPacket, and then must wait for an Acknowlegment from sever, so that I know if I have to resend the same packet or send the next one.. I'm using for that the same sock...
Barite asked 29/12, 2012 at 20:21

2

Solved

The Java Socket class has two methods isClosed and isConnected to check whether the socket is closed or connected respectively. I wanted to know what's the difference between a TCP socket which is ...
Poco asked 2/10, 2012 at 5:39

3

Solved

I'm working with some code that needs to be safe against killing the caller due to SIGPIPE, but the only socket writes it's performing are going to datagram sockets (both UDP and Unix domain datagr...
Sheronsherourd asked 13/4, 2011 at 21:21

1

Solved

I have set the "receiveBufferSize" option to 1024, but for some reason I'm still getting only 768 bytes in messageReceived. The header of the data indicates that size of the data being sent is 1004...
Federica asked 17/7, 2012 at 15:23

1

Solved

Using Linux and Python, I want to send some data with broadcast: d = b'109u433279423423423' import socket s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.sendto(d, 0, ('192.168.0.255', ...
Selfabsorption asked 12/7, 2012 at 17:52

3

Solved

I'm developing an Android 3.1 Tablet application. I'm going to use this app to listen to UDP packets send by a device which is sending UDP packets to 255.255.255.255:8001 every 5 seconds. Using d...
Upstart asked 6/7, 2012 at 8:26

1

Solved

I need to write an UDP server which will wait for packets from uncorrelated devices (max 10000 of them) sending small packets periodically; do some processing with the payload and write the results...
Thyrotoxicosis asked 14/2, 2012 at 9:51

4

Solved

I'm implementing a simple service using datagrams over unix local sockets (AF_UNIX address family, i.e. not UDP). The server is bound to a public address, and it receives requests just fine. Unfort...
Elspeth asked 18/9, 2008 at 17:18

2

Solved

I am using System.Net.Sockets Socket class to receive UDP datagrams. I wanted to know the exact length of the datagram received in order to check the validity of the datagram. Socket.Receive(Byte(...
Hoskins asked 10/12, 2011 at 18:47

2

Most datagram receiving functions such as c's recv or read, javas DatagramPacket class or pythons SocketServer, include the possibility to find out the amount of received data. c: int amount = re...
Apeak asked 28/10, 2011 at 15:57

1

Solved

I am trying to send some data with a udp socket and receive them back on the same socket through windows loopback adatper. In my network properties I set the loopback adapter to have the following ...
Varipapa asked 30/6, 2011 at 17:28

2

Solved

I have recently nose dived into socket programming using java, and I have a few general sort of questions. There is a bind() method, as well as a connect() and disconnect(). There is no unbind(). ...
Disserve asked 15/6, 2011 at 17:28

3

Solved

I'm trying to write a bit of code which sends a single int over UDP. The code I have so far: Sender: int num = 2; DatagramSocket socket = new DatagramSocket(); ByteArrayOutputStream bout = new B...
Chios asked 8/3, 2011 at 18:21

4

Solved

I develop part of some JBoss+EJB based enterprise application. My module needs to process huge amount of incoming UDP packets. I've done some load testing and it looks that in case of sending packe...
Dugong asked 23/2, 2011 at 18:34

1

Solved

Currently I'm hitting a hard limit of 130688 bytes. If I try and send anything larger in one message I get a ENOBUFS error. I have checked the net.core.rmem_default, net.core.wmem_default, net.core...
Gillead asked 18/1, 2011 at 21:35

4

Solved

I'm developing a java interface between a streaming server and a flash client. I noticed that UDP datagrams can reach my interface out of order even if both processes are running locally. Is that ...
Lissalissak asked 28/3, 2010 at 17:51

5

Solved

I have a simple client/server setup. The server is in C and the client that is querying the server is Java. My problem is that, when I send bandwidth-intensive data over the connection, such as Vi...
Laissezfaire asked 14/3, 2010 at 1:41

© 2022 - 2024 — McMap. All rights reserved.