cppman Posted February 20, 2006 Posted February 20, 2006 Im not very good when it comes to the TCP functions.... i was wondering if someone could write me a well commented script that will show me how to use TCPConnect(), TCPStartup(), TCPSend(), and TCPRecv(). Im really having the trouble with TCPSend, and TCPRecv. I would really appreciate it if u could help... Thanks! If u could, could u show me an example with all of them working together... thanks alot! I know they have them in the Help File, but they don't really help me much. Miva OS Project
themax90 Posted February 20, 2006 Posted February 20, 2006 Please check my signature for the TCP, DON'T POST, GO HERE link. It has a link to several things TCP. Please check the section TCP Made Easy that has all the readouts of the functions. AutoIt Smith
themax90 Posted February 20, 2006 Posted February 20, 2006 No problem. I made that post for this very reason.
bboysza Posted February 21, 2006 Posted February 21, 2006 More TCPSend questions:I'm trying to connect to a Telnet server to send some commands. I need to first setup up the terminal by sending IAC's. (See http://www.scit.wlv.ac.uk/~jphb/comms/telnet.html if confused as to what I'm talking about)How can I send data AS a telnet COMMAND. I really need to send the decimal code I believe. I'm using a packet sniffer to note my failures from within autoit, and my success's from just a command line. Typically, the Telnet server would deliver:Telnet Command: Do Terminal Type Command: Do Terminal Speed Command: Do X Display Location Command: Do New Environment OptionI need to reply to the affect of:Telnet Command: Won't Terminal Type Command: Won't Terminal Speed Command: Won't X Display Location Command: Won't New Environment OptionBut, when using TCPSend my telnet rec'vd data is:Telnet Data: Won't Terminal Type etc...I'm guessing there's some syntax I'm missing here, in how I deliver the commands to have the Telnet server Interpret As Command.Thanks,Ben Ben
themax90 Posted February 22, 2006 Posted February 22, 2006 You need to send for a command 255,<type of operation>,<option> Read the data carefully. IF you need more help PM me and I will do specific questions. AutoIt Smith
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now