View Full Version : گرفتن آی پی IDTCPCLIENT از روی IDTCPSERVER
Gladiator
شنبه 29 آذر 1382, 22:17 عصر
با سلام خدمت همه دوستان عزیز
به چه شکل میشه آی پی کامپیوتری که به واسطه IDTCPClient به IDTCPServer متصل شده رو بدست آورد ؟
متشکرم .
Inprise
یک شنبه 30 آذر 1382, 10:45 صبح
راهنمای دلفی
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, 11:08 صبح
مرسی مهندس .
Gladiator
یک شنبه 30 آذر 1382, 21:38 عصر
مهندس مثال هم بیاور و ما را از بند Serach خلاص کن .
Inprise
دوشنبه 01 دی 1382, 08:43 صبح
Server.Bindings.Items.PeerIP
vBulletin® v4.2.5, Copyright ©2000-1403, Jelsoft Enterprises Ltd.