-
Tcp/ip?
in visual basic 6 you could use a winsock control. Because in .NET I am using smart device extensions and would like to make XIM for PocketPC(Windows CE STUFF) I wouldn't use winsock right? So, how do I do tcp IP
I found TCP Client
Whenever I try to use a TCP Stream I can't figure out how...
Can someone give me an example of a sub that would:
Sub Connect(IP,Port)
Sub GetData(Data as String)
Sub SendData(Data as String)
Sub Close
I will give you credit for it... Please help. Thanx
-
I believe you will want to read up on System.Net.Sockets... this class encompasses all classes related to Network programming, including TCPCLient.
You can check the MSDN help, or preferably, you might want to buy a book such as
Visual Basic Programmer's Guide to .Net Framework Class Library
by Lars Powers published by Sams
This type of book assumes you have done VB6 programming, and helps you move into .Net...
Anyway, I am not familiar with Windows CE programming, or what XIM really entails...and from i understand about .Net networking so far, I cannot tell you if you want to do sockets programming or go ahead with TCPClient...
-