Post by fwm on Jul 13, 2021 18:31:16 GMT -5
Hello.
I guess this post is aimed mainly at Chris Iverson, who I worked with when he created the original DLL that has become LBNet. I say "worked with", but in actuality I bombarded him with many, many questions and he kept answering them and writing code to make stuff happen. "Can it do TLS?" I asked. "I can make it do TLS" Chris replied. "Can we feed it a certificate and act as a server?" I asked. "I can make it do that, yes" he replied. I already thanked Chris before, but again I must thank you, Chris, for the time and effort you went to in explaining how the DLL worked and helping me understand things that I would never have understood about TCP, TLS, etc.
I have been having a play around with the newer UDP functions. I wonder if there's a way to test if a UDP service is running on a particular port with the DLL. I can test for a TCP connection simply by using the Connect() function, and then the IsSocketInvalid() to check. This is all I need to check if a TCP service is running on a port or not. However the same doesn't seem to work with the UDPConnect() function. It seems that I can insert any port, whether a UDP service (e.g. an NTP server) is running on that port or not, and the connection appears to be successful. Now this may be my limited understanding of the differences between UDP and TCP, but can we use any of these functions to test for a UDP connection? I'm not looking for any particular response other than to establish whether a UDP service is at the other end or not.
I would love to hear from Chris or anyone else who has an understanding of this protocol - I'm sure there are many with a far better understanding than me!
Thank you
Keith
I guess this post is aimed mainly at Chris Iverson, who I worked with when he created the original DLL that has become LBNet. I say "worked with", but in actuality I bombarded him with many, many questions and he kept answering them and writing code to make stuff happen. "Can it do TLS?" I asked. "I can make it do TLS" Chris replied. "Can we feed it a certificate and act as a server?" I asked. "I can make it do that, yes" he replied. I already thanked Chris before, but again I must thank you, Chris, for the time and effort you went to in explaining how the DLL worked and helping me understand things that I would never have understood about TCP, TLS, etc.
I have been having a play around with the newer UDP functions. I wonder if there's a way to test if a UDP service is running on a particular port with the DLL. I can test for a TCP connection simply by using the Connect() function, and then the IsSocketInvalid() to check. This is all I need to check if a TCP service is running on a port or not. However the same doesn't seem to work with the UDPConnect() function. It seems that I can insert any port, whether a UDP service (e.g. an NTP server) is running on that port or not, and the connection appears to be successful. Now this may be my limited understanding of the differences between UDP and TCP, but can we use any of these functions to test for a UDP connection? I'm not looking for any particular response other than to establish whether a UDP service is at the other end or not.
I would love to hear from Chris or anyone else who has an understanding of this protocol - I'm sure there are many with a far better understanding than me!
Thank you
Keith