Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Help using ConnectToTCPServer function for connecting to a printer

$
0
0

Hello,

I am attempting to communicate to a printer using the following function:

 

int ConnectToTCPServer (unsigned int *conversationHandle, unsigned int portNumber, char serverHostName[], tcpFuncPtr callbackFunction, void *callbackData, unsigned int timeOut);

 

For the serverHostName, I am using the IP address of the printer. However, I am confused as to what number to put for the port number. How do I obtain this information?

 

Thanks! 


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>