Hi dave,
normally you do a recvfrom() to wait for a connection. Here is one parameter
'struct SOCK_ADDR* from', where winsock tells you which client wants to
connect to your device. Just check this ip with your own list and answer to
the packet or throw it away.
Best regards,
Oliver Münchow
--
---------------------------------------
Gesytec GmbH eMail:
52076 Aachen omuenchowATgesytecDOTde
http://www.gesytec.de
"dave" <dave.DeleteThis@parystec.demon.co.uk> schrieb im Newsbeitrag
news:c278ae$dnh$1$8300dec7@news.demon.co.uk...
> Hi,
>
> We have produced a VNCclient for the PPC (PTvnc2)
> which is currently supplied with a modified version
> of eSVNC for the PC.
>
> I'd like to add greater security features for those people
> using it over the internet (ie. not VPN).
>
> To this end, is there a way of getting the server to check
> the IP address of a client trying to connect (in VC++) ?
>
> bye
> Dave
>
>
>