beautypg.com

3 closesocket, 4 example – INFICON XTC/3 Thin Film Deposition Controller Communications Library Operating Manual User Manual

Page 19

background image

1 - 5

IP

N 07

4-

45

4-

P1

B

XTC/3 Communications Library Operating Manual

1.2.2.3 CloseSocket

void CloseSocket();

Description

This function closes the socket previously opened.

Arguments

None

1.2.2.4 Example

if(StartSocket()==0)

printf(“Socket could not be initialized.”);

if(!ConnectSocket(“10.211.70.209”))

printf(“Socket could not be connected!”);

//..........application code
CloseSocket();