Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Perl: the Markov chain saw
 
PerlMonks  

Re^4: No data received on client socket

by rbi (Monk)
on Sep 20, 2006 at 15:07 UTC ( #573903=note: print w/ replies, xml ) Need Help??


in reply to Re^3: No data received on client socket
in thread No data received on client socket

I tried to run the echo server but I don't get anything back.
This is the tcpdump kind of output I get out of the original script (and with yours and ikegami's suggestions):

client:/home/user # tcpdump -i eth0 -A port 6928 -xX -vv -s 0 listening on eth0, link-type EN10MB (Ethernet), capture size 65535 byt +es 16:59:48.813909 IP (tos 0x0, ttl 64, id 22143, offset 0, flags [DF], +proto: TCP (6), length: 60) client.12110 > server.6928: 16:59:48.814003 IP (tos 0x0, ttl 128, id 58743, offset 0, flags [DF], +proto: TCP (6), length: 64) server.6928 > client.12110: S, cksum 0x82 +75 (correct), 1326247112:1326247112(0) ack 4102086732 win 17520
I've noticed that the port on the client changes every time i run the script. May it be this the problem ? How could I stick it to the 6928 port ?
Unfortunetely I cannot run right now tcpdump on the older Linux boxes where it works fine, to see if there is any difference.
Thanks a lot for any hint.


Comment on Re^4: No data received on client socket
Download Code
Re^5: No data received on client socket
by ikegami (Pope) on Sep 20, 2006 at 15:19 UTC

    I've noticed that the port on the client changes every time i run the script. May it be this the problem ?

    That's normal.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://573903]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-04-20 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls