473,325 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

TCP Handshake Question

I'm an experienced VB developer who has recently started working in .NET. I'm trying to figure out how the .NET framework exposes option negotiation when the Connect method of a socket is called. In general, I've found that option negotiation can be ignored. But occasionally the connect method times out because the target telnet server insists on appropriate responses from the client for each do/dont option request. In VB 6 I simply used the Winsock data_arrival event to intercept these and respond with wont to each option

Fiske
Nov 20 '05 #1
1 1860
On Thu, 3 Jun 2004 14:11:03 -0700, Fiske wrote:
I'm an experienced VB developer who has recently started working in .NET. I'm trying to figure out how the .NET framework exposes option negotiation when the Connect method of a socket is called. In general, I've found that option negotiation can be ignored. But occasionally the connect method times out because the target telnet server insists on appropriate responses from the client for each do/dont option request. In VB 6 I simply used the Winsock data_arrival event to intercept these and respond with wont to each option.

Fiske


Fiske,

Once the connection is open, you need to read it's requests and respond
appropriately.

' open connection
....

' read request
.....

' send response
.....

' read request

The opening of the connection should not timeout unless the host is
unreachable. Telnet uses a challenge response negotiation protocol to
determin terminal capabilities. It has nothing to do with the actuall
connecting to the port.

--
Tom Shelton [MVP]
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jr | last post by:
Hi, Don't know what is going on, please help, thanks. ( in srv01 ) mysql -V mysql Ver 13.5 Distrib 4.1.0-alpha, for sun-solaris2.8 (sparc) mysql -uroot -hsrv02 -P4066 -p
0
by: John Pedersen | last post by:
Hi, Since I have installed mysql 4.1 I am getting this error on trying to reach the db: java.sql.SQLException: Communication failure during handshake. Is there a server running on...
3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
0
by: Abubakar | last post by:
I have been trying to monitor the handshake (signal) from a printer for each page it printed but i have not been able to do so. Can any out there help me.
1
by: Rodrigo García | last post by:
Hi, I'm working on an implementation of the TPC-App benchmark, it is very similiar to the TPC-W benchmark (a number of threads emulating businesses calling the web services of the server by...
5
by: Marco | last post by:
I have a problem with the establishement of a three way handshake through raw socket. The problem is that if in my application client I use the syscall socket(AF_INET,SOCK_RAW,IPPROTO_RAW) the...
0
by: AlanL | last post by:
I am using MSCOMM for serial control and have an issue with some computers. When the handshake lines (CD, DSR, etc )are not connected on the computer I they generate OnComm events. I can ignore the...
0
crabpot8
by: crabpot8 | last post by:
is there any way to generate a "handshake" in flash and capture the return answer into a variables? i am wanting to do a handshake with a site and see if the site responds, then use actionscript...
0
by: ntuyen01 | last post by:
Hi, I am having major problems connecting to a specific SSL-enabled server. This server only allow AES ciphers V3CipherSuites 393837363533323130 V3CipherSuites ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.