View Full Version : گرفتن آی پی IDTCPCLIENT از روی IDTCPSERVER
Gladiator
شنبه 29 آذر 1382, 20:47 عصر
با سلام خدمت همه دوستان عزیز
به چه شکل میشه آی پی کامپیوتری که به واسطه IDTCPClient به IDTCPServer متصل شده رو بدست آورد ؟
متشکرم .
Inprise
یک شنبه 30 آذر 1382, 09:15 صبح
راهنمای دلفی
TIdSocketHandle.PeerIP
Specifies the address of the remote connection.
property PeerIP: string;
Description
PeerIP is a read-only String property that identifies the address of the computer on the remote connection. PeerIP can be a computer name, such as "wvnvm.wvnet.edu", or an IP address in dotted-decimal format, such as "129.71.2.4".
PeerIP is used in conjunction with PeerPort to determine the association used to identify the remote connection endpoint.
PeerIP is updated in SetPeer, and as a result of Accept, SendTo, and RecvFrom operations.
موفق باشی
Gladiator
یک شنبه 30 آذر 1382, 09:38 صبح
مرسی مهندس .
Gladiator
یک شنبه 30 آذر 1382, 20:08 عصر
مهندس مثال هم بیاور و ما را از بند Serach خلاص کن .
Inprise
دوشنبه 01 دی 1382, 07:13 صبح
Server.Bindings.Items.PeerIP
vBulletin® v4.0.8, Copyright ©2000-1391, Jelsoft Enterprises Ltd.