|
| MaxT (21) | |
| Ok so the situation is this. For a coursework project I'm creating an application which helps to teach networking and data encapsulation to A-Level computer science students. My System (It uses both client and sever apps) involves simulating a chat client/sever using raw sockets to grab whole tcp packets and send/construct them manually. My goal is that I will be able to print out recived packets in a human readable form. I have done some standard socket programming before, creating a few applications to ferrey data around a network. however I have several questions, 1. During creation of a raw socket, is there any way to "connect()" ? 2. On the sever side is there a way to accept() with raw sockets 3. Are there any good resources on the topic, My searches have only really found websites which create a program which just floods something with syn packets, rather then trying to establish a valid 3 way tcp handshake and maintain/close it gracefuly. | |
| jsmith (3796) | |
| There isn't because you are implementing TCP in user land. connect() and accept() are meaningless in raw IP packets. | |
This topic is archived - New replies not allowed.
