Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending text to/from a port

Status
Not open for further replies.

gammalost

Programmer
Oct 25, 2007
2
NO
I am wondering how to send/receive text on a remote machine.
Lets say I wanted to send the text "hello" to clarion.is.great.com on port 44 and read the reply I get.

I am not interested in any third part templates. Using clarion 6.3 with the legacy template set.

The reason I want to be able to do this, is that a lot of the internet protocols out there are based on pure text, and thus would make it possible to make emailers/irc clients and so on.

This is basically what the "telnet" program does, but I want it incorporated into my clarioncode.
 
Hi!

You have asked this question in the SV Forums and have been suggested that the easiest way is to invest in a Third-Party product. If you want to pursue on your own, you need to read the MSDN of the base Windows DLLs responsible for this (Winsock, etc), prototype them as a LIB and use them. The big question is : Is it worth your time? Clarion does not have any Out-of-the-Box functionality for http ports. Search the Web to see if there are any free libraries for this. You could also look at abapi inc/clw in \clarion6\libsrc as see how Clarion has used this.

Regards
 
Thank you for answering my question. Now I at least know what to look for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top