Groups > Palm OS > Communication Developer Forum > Raw Sockets Supported Or Not?




Raw Sockets Supported Or Not?

Raw Sockets Supported Or Not?
Tue, 9 Oct 2007 20:45:55 -000
Are raw sockets supported or not? The API is there. Sending data
seems to work. Unfortunately I've not seen one instance of someone
successfully receiving on a raw socket. All the books on Palm OS
either skip over raw sockets or say it isn't supported.

Are raw sockets just broken? I would presume they would have to work
since higher protocols would have to use raw sockets under the
covers. If it's supposed to work, is there anybody who can confirm that it does?
I think a lot of people would appreciate some feedback in this area.

In my case, I can successfully send an ICMP packet and witness the
response from the remote machine via tcpdump, but NetLibReceive
always returns 0. When I wasn't creating a proper IP header
NetLibReceive simply timed out, so it seems like something is
working. I just don't understand why there isn't any data.
Post Reply
about | contact