mtcp-stack / mtcp

mTCP: A Highly Scalable User-level TCP Stack for Multicore Systems
Other
1.98k stars 436 forks source link

mtcp_connect() some issues #204

Open keil-chan opened 6 years ago

keil-chan commented 6 years ago

hi ajamshed

i have a simple test. two nodes client <--> server client use mTCP API to connect server which use POSIX API, mtcp_connect() error, because the server node doesn`t reply SYN_ACK pkt. the server get SYN pkt.

i dont know why the server doesnt reply SYN_ACK pkt. does mTCP support this test?

ajamshed commented 6 years ago

@keil-chan,

You need to check a number of things. How many NIC RSS queues are you creating in your experiment? If number of queues > 1, are you calling mtcp_init_rss() before doing mtcp_connect()?

keil-chan commented 6 years ago

it works good, it`s my mistake. thx!