ww
w
.ip
el
ec
tr
on
ix
.c
om
IPEX
(IP Electronix)
PH232Ex1
:
User’s Manual
Page 23 of 28
Doc No.: PH232Ex1-UM-001
14 January 2022
17.
CONNECTING TO DEVICE VIA TCP SOCKET
It is possible to directly connect to PH232Ex1 RS-232 Serial Ports from any node of the network by using socket
programming. This is simply done if you know only PH232Ex1 IP Address and socket port number for each Port.
The default port number is as follow:
-
Port 1: 9761
For example, we connect to RS-232 Port by means of Hyper Terminal. Run Hyperterm.exe and from properties
dialog box, select “TCP/IP (Winsock)”:
Enter device IP Address in the “Host address:” section, for example 192.168.1.100 and the port number in the
“Port Number:” section (port number for RS-232 Port is 9761), then click on OK.
Now if you type some characters, you can see that TX Blue LED is blinking that means the data is sent to
PH232Ex1 RS-232 port.
NOTICE: Don’t forget to set PH232Ex1 in
SERVER Mode
for this method of connection.