Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

Replies are listed 'Best First'.
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?
[marto]: Sane Dots, chapter 13: ITIL never work :P
[marto]: sorry, bad pun of it'll :P
[Corion]: :-D
[Corion]: I think that ITIL is mostly to prevent people from doing harm to a system that basically runs unattended :)
[Corion]: Maybe you could reduce ITIL to a computer network, a man and a dog. The network runs the computations. The man is there to feed the dog. The dog is there to prevent the man from accessing the computers.
[marto]: from experience of this side of the fence, it's all about proving to people that you are ITIL compliant, then the client ignores logical processes anyway :P
[marto]: when you work on the outside, for a client, you can make them aware of the stupids, but they don' t always listen :/

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2017-01-24 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (203 votes). Check out past polls.