| Dart Home | PowerTCP Winsock for ActiveX | Custom Development | Reply | PowerTCP Winsock for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Winsock for ActiveX Topic: General Power TCP (Winsock) Questions |
| bjones1@qwest.net From: Queen Creek, AZ USA Posts: 1 Member Since: 01/31/07 |
posted May 15, 2007 7:12 PM Using PowerBuilder 8, I need to be able to keep the LocalPort constant. What I'm seeing with my test case is that the port increments each time I disconnect and re-connect...the remote server uses the originating IP Address and Port # for validation, but with it "floating", there's no way to anticipate what local port (on the client) will be used. The LocalPort setting on the Power TCP Winsock control is "readonly". When I try to use the reuseaddress property (set it to true), I get a "Name Not Found - reuseaddress", suggesting that the property doesn't exist or is inaccessible in PowerBuilder. What am I missing? |
| BrendanM From: Durban, South Africa Posts: 80 Member Since: 07/11/02 |
posted May 16, 2007 4:36 PM If you are referring to a TCP Client, then the connect method supports setting the local port. Check the Help file - >>>> Object.Connect RemoteName [ , RemotePort ] [ , LocalName ] [ , LocalPort ] |
| Reply | PowerTCP Winsock for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|