Hello,
I have problems sending UDP packets that have to be fragmented since the payload extends the MTU. Currently I am using the UDP socket API, but it would be OK to switch to the UDP class.
sendto() uses internally an UDPPacket. It sets the port numbers, adds the data, and sends the packet ...
Search found 10 matches
- Fri May 21, 2010 1:25 am
- Forum: NetBurner Software
- Topic: How to send fragmented UDP packets
- Replies: 1
- Views: 3033
- Fri Apr 16, 2010 3:01 am
- Forum: NetBurner Software
- Topic: Multicast - recvfrom()
- Replies: 5
- Views: 6562
Re: Multicast - recvfrom()
Hi Paul,
I think I do not understand what you want me to say.
As far as I understand the fifo inside the udp socket can only be used for select(), because there is a notify function that is called (see line 1566 in system/udp.cpp) after posting the data in the fifo. In the multicast processing ...
I think I do not understand what you want me to say.
As far as I understand the fifo inside the udp socket can only be used for select(), because there is a notify function that is called (see line 1566 in system/udp.cpp) after posting the data in the fifo. In the multicast processing ...
- Thu Apr 15, 2010 2:17 am
- Forum: NetBurner Software
- Topic: Multicast - recvfrom()
- Replies: 5
- Views: 6562
Re: select() for multicast
It is not so easy to use select() with multicast. Anyhow, I got it to work and want to share my solution.
First of all the multicast interface just supports to deliver the packets to a fifo. In my application I used a fifo that I am already using for receiving unicast udp packets. Similar to unix ...
First of all the multicast interface just supports to deliver the packets to a fifo. In my application I used a fifo that I am already using for receiving unicast udp packets. Similar to unix ...
- Fri Mar 12, 2010 7:06 am
- Forum: NetBurner Software
- Topic: Multicast - recvfrom()
- Replies: 5
- Views: 6562
Multicast - recvfrom()
Hello again,
as far as I understand, for multicast there is currently only an OS_FIFO available to receive multicast UDP messages. The problem with this is, that I am not able to use select() to wait for multiple I/O streams. As far as I discovered, I have to create a custom I/O driver using file ...
as far as I understand, for multicast there is currently only an OS_FIFO available to receive multicast UDP messages. The problem with this is, that I am not able to use select() to wait for multiple I/O streams. As far as I discovered, I have to create a custom I/O driver using file ...
- Fri Mar 12, 2010 4:49 am
- Forum: NetBurner Software
- Topic: NB Runtime Library: CreateTxUdpSocket, wrong documentation
- Replies: 0
- Views: 3127
NB Runtime Library: CreateTxUdpSocket, wrong documentation
Hello,
in the NetBurner Runtime Library is an error in section 24.2.3 and 24.2.4. It says:
local_port : Local port number to use. A value of 0 will automatically select a random port number.
That's not true as far as I discovered. If the local port is set to 0 there is no random port number ...
in the NetBurner Runtime Library is an error in section 24.2.3 and 24.2.4. It says:
local_port : Local port number to use. A value of 0 will automatically select a random port number.
That's not true as far as I discovered. If the local port is set to 0 there is no random port number ...
- Fri Mar 05, 2010 5:48 am
- Forum: NetBurner Software
- Topic: TCP connections recycle used port numbers
- Replies: 2
- Views: 5257
Re: TCP connections recycle used port numbers
Probably the reused port number just happens when the netburner board automatically resets itself.
I had problems running gSOAP on the SB70LC. gSOAP allocates by default 8192 bytes on the stack when entering the http_parse function to parse headers. I need a long time to fix that out, because the ...
I had problems running gSOAP on the SB70LC. gSOAP allocates by default 8192 bytes on the stack when entering the http_parse function to parse headers. I need a long time to fix that out, because the ...
- Thu Mar 04, 2010 4:32 am
- Forum: NetBurner Software
- Topic: TCP connections recycle used port numbers
- Replies: 2
- Views: 5257
TCP connections recycle used port numbers
Hello,
my netburner app only uses 3 different local ports for outgoing TCP connections: 32809, 32810, and 32811. Even though I have passed 0 to randomly use an unsed port number. According to the connect() function documentation for the local port: If zero (0) a randomly selected port > 0x8000 will ...
my netburner app only uses 3 different local ports for outgoing TCP connections: 32809, 32810, and 32811. Even though I have passed 0 to randomly use an unsed port number. According to the connect() function documentation for the local port: If zero (0) a randomly selected port > 0x8000 will ...
- Mon Mar 01, 2010 4:01 am
- Forum: NetBurner Software
- Topic: Developement under Linux
- Replies: 20
- Views: 31126
Re: Developement under Linux
Hello Thomas,
3) Build the linux ppc cross compiler ( don't run the windows one in wine )
On my NetBurner board (SB70LC) there is a Motorola 68k processor on it. So I must build the cross compiler for the m68k-elf target, similar to the cross compiler NerBurner ships for Windows. My main ...
3) Build the linux ppc cross compiler ( don't run the windows one in wine )
On my NetBurner board (SB70LC) there is a Motorola 68k processor on it. So I must build the cross compiler for the m68k-elf target, similar to the cross compiler NerBurner ships for Windows. My main ...
- Fri Feb 26, 2010 5:37 am
- Forum: NetBurner Software
- Topic: Developement under Linux
- Replies: 20
- Views: 31126
Re: Developement under Linux
I am able to use the codecomp.exe utility under linux within wine as well as the AutoUpdate.exe tool. Both works fine.
My current problem is, to build the cross-compiler. I am also able to extract the g++ compiler configuration of the windows binary:
me@me:~/.wine/drive_c/nburn/gcc-m68k/bin$ wine ...
My current problem is, to build the cross-compiler. I am also able to extract the g++ compiler configuration of the windows binary:
me@me:~/.wine/drive_c/nburn/gcc-m68k/bin$ wine ...
- Fri Feb 26, 2010 2:02 am
- Forum: NetBurner Software
- Topic: Developement under Linux
- Replies: 20
- Views: 31126
Developement under Linux
Hello,
is there any documentation how to develope netburner applications (for SB70LC) under Linux (Ubuntu) with the GNU toolchain?
Thanks,
Stephan
is there any documentation how to develope netburner applications (for SB70LC) under Linux (Ubuntu) with the GNU toolchain?
Thanks,
Stephan