Dennis Lee Bieber
3/2/2010 9:04:00 AM
On Mon, 1 Mar 2010 05:49:06 -0800 (PST), elca <highcar@gmail.com>
declaimed the following in gmane.comp.python.general:
> i was captured with wireshark, some process to send login info to server.
>
> and i was found port number is 5300 and server ip is 58.225.56.152
>
> and i was send id is 'aaaaaaa' and password 'bbbbbbb' and i was received
>
> 'USER NOT FOUND' result from server.
>
> how can i make this kind of process with python socket ?
>
I've usually found the best way to debug such a connection is to use
TELNET
Telnet to (in your example) 58.225.56.152 5300 and see how it
responds to the data you are sending.
When you can get a proper session using plain telnet, THEN translate
that session into Python socket I/O.
--
Wulfraed Dennis Lee Bieber KD6MOG
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/