in reply to Re^3: help me on socket programming
in thread help me on socket programming
hi...
Based on the trace packet, I found that my server using port 1998 and the remote server using port 61236.
How could i write the socket program to connect from my port (1998) to remote system on port (61236).
This is sample data trace:
Sent request to remote system
-------------------------------- TCP Header -------------------------- +-------- sport: 1998 --> dport: 61236 flags: PUSH ACK seq: 0xfd2fed0a urp: 0x0 chksum: 0xe16a data len: 519 ack: 0x2f975faf win: 0x1ed9 optlen: 0 -------------------------------- XOT --------------------------------- +--------
Remote server acknowlegde
-------------------------------- TCP Header -------------------------- +-------- sport: 61236 --> dport: 1998 flags: PUSH ACK seq: 0x2f975faf urp: 0x0 chksum: 0x1b data len: 7 ack: 0xfd2fef11 win: 0x8000 optlen: 0 -------------------------------- XOT --------------------------------- +-------- 0: 00 00 00 03 10 01 41 -- -- -- -- -- -- -- -- -- ......A........ +.
|
---|
In Section
Seekers of Perl Wisdom