B
babakandme
How can I read IP Datagram? Should I write some Driver for that? Is
there any special book about it?
Thank you.
there any special book about it?
Thank you.
How can I read IP Datagram? Should I write some Driver for that? Is
there any special book about it?
Thank you.
The is off topic and platform specific.
google for "UDP send recv socket select C++" - see what you get.
There are plenty of libraries that you can use - commonc++, austria C++,
ACE, that hide most of the platform dependant stuff.
I don't know of any standardization work for C++ with sockets, although,
that would be very very useful.
How can I read IP Datagram? Should I write some Driver for that? Is
there any special book about it?
Thank you.
I think your best bet is the sockets library. On Linux that's (as far as
I got around to use it) the same interface as winsock on Windows Systems.
Some links that may help you:
C++ Socket library tutorial:http://www.alhem.net/Sockets/tutorial/using.html
Beej's Guide to Network Programming:http://beej.us/guide/bgnet/output/html/multipage/index.html
Best Regards,
Lars
szybki said:You guys talk about using transport layer mechanisms (TCP/UDP), but
babakan asked about IP (network layer) datagrams.
You guys talk about using transport layer mechanisms (TCP/UDP), but
babakan asked about IP (network layer) datagrams. A far as I know it
is impossible to access IP layer datagrams with socket mechanisms
directly. Not that I know how to do it other way
Oops, sorry - forgive my ignorance - only just entered the topic this
year - wasn't aware that sockets was limited to the higher layers.
You guys talk about using transport layer mechanisms (TCP/UDP), but
babakan asked about IP (network layer) datagrams. A far as I know it
is impossible to access IP layer datagrams with socket mechanisms
directly. Not that I know how to do it other way
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.