JAVersteeg / bTCP_project

0 stars 0 forks source link

Let connect function handle entire handshake (?) #3

Closed JAVersteeg closed 4 years ago

JAVersteeg commented 4 years ago

The connect function can probably not send a packet and receive its response in the same call, because lossy_layer_input() is called when a packet is received, so connect() can only send out a handshake and set the client.state to State.SYN_SEND

JAVersteeg commented 4 years ago

No. Connect() only initiates handshake