(no subject)
(no subject)
- Subject: (no subject)
- From: Kirk Haynes <email@hidden>
- Date: Wed, 20 Mar 2002 12:07:32 -0500
Hi,
I'm working on OpenTransport networking code and I have two unresolved
problems using UDP endpoints.
1) I open up a 'server' async UDP endpiont on the 'server' machine, and
start opening several 'client' UDP endpoints on the client machine. The
clients each send roughly 1 K of data per packet to the server endpiont,
roughly 60 times per second (about 62 K/sec). The 'server' UDP endpoint can
handle 1 - 5 of these clients packets, but once it starts receiving more
than a total of 350 to 400 K/sec of data, the server endpoint stops
receiving the UDP packets from the clients. There are no errors on the
server endpoint that I can see.. (at least I don't think I'm receiving an
error related to the server endpoint no longer receiving packets. it is
possible that an error is coming in and it's getting overlooked, but I don't
think so)
Please respond if you
a) have encountered this problem, or
b) know what the problem is, or
c) know how to fix or work around the problem
2) This may or may not be related to problem 1. The server UDP endpoint
is occasionally receiving a T_UDERR notification. I have been able to call
OTRcvUDErr successfully for this notification. I would like to know what the
error field value means, 0x46, so that I can respond to this error, and/or
figure out if it has anything to do with the endpoint ceasing to receive
packets. The T_UDERR looks like a response from a OTSndUData call to the
'client' address: 192.192.192.3, on port 49265. Help in decifering the data
would be much appreciated. The following data is from the response from the
OTRcvUDErr call:
TUDErr
0 addr :TNetbuf
0 maxlen : $00000100
4 len : $00000010
8 buf : @2BBB54 = $00
12 opt :TNetbuf
0 maxlen : $00000100
4 len : $0000006C
8 buf : @2BBC54 = $00
24 error : $00000046
T_UDERR opt buffer 108 bytes
2BBC54: 0000 006C 0000 0011 0000 0002 72B9 4000 "...l........r9@."
2BBC64: 0400 D1BF 0000 0000 4500 041C B3C8 4000 "..Q?....E...3H@."
2BBC74: FF11 C27C C0C0 C006 C0C0 C003 141E C071 "..B|@@@.@@@...@q"
2BBC84: 0408 D079 0000 0000 07B9 15F4 07B9 15F0 "..Py.....9...9.."
2BBC94: 07B9 14E8 07B9 1608 07B9 1604 07B9 1600 ".9...9...9...9.."
2BBCA4: 07B9 1614 07B9 1610 07B9 160C 07B9 15E8 ".9...9...9...9.."
2BBCB4: 07B9 15E4 07B9 15FC 07B9 15F8 C0C0 C003 ".9...9...9..@@@."
2BBCC4: 0000 0000 0000 0000 0000 0400 0028 FF80 ".............(.EUR"
UDERR opt buffer deciphered
0000006C length 108 bytes
00000011 level INET_UDP
00000002 name UDP_RX_ICMP
72B94000 status ?????
the rest..????
addr buffer
2BBB54: 0002 C071 C0C0 C003 0000 0000 0000 0000 "..@q@@@........."
deciphered
0002 AF_INET Address Type
C071 49265 Port
COCOCO03 192.192.192.3 Address
Best Regards,
Kirk
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.