Applies To: |
|
Summary: |
I have a need to get data from a TCP-enabled computer (UNIX....) and have a simple TCP/IP server on this computer that can serve the information that I want. What is a simple means to get it? |
Solution: | ||||||||||||
This must be done on an IOServer, and you
should define an IODevice that you disable at startup.
You can use the ComRead, ComWrite function to talk to a TCP port. Install service pack D for version 3.4/4.2 or later, OR use version 5.0. Define: Boards
Ports
Then use the following Cicode functions: ComOpen(hPort, "PORT1", 0); // to open the
port For example, to access a persons account information on a UNIX server, use port 79 in the ports form, and then use the following Cicode STRING Buffer;
END |
Keywords: |
Related Links
Attachments