Board index » delphi » it is a error?
NetCrusher
![]() Delphi Developer |
NetCrusher
![]() Delphi Developer |
It's a error?2003-07-10 02:40:41 AM delphi205 From Delphi 7, the TServerSocket component was eliminated? I found an error in the TServerSocket. It does not obtain to catch the entire name of a computer. For example: My hostname is SERVER NT the component one only obtains to return the SERVER, or either, it does not obtain to catch a hostname that has space. It would like to know on these doubts, and they forgive me for the English. Ok? |
Andy M.
![]() Delphi Developer |
2003-07-10 07:19:31 AM
Re:It's a error?Quote>From Delphi 7, the TServerSocket component was eliminated? manually, you can continue to use them. D7 still included them. Andy |
NetCrusher
![]() Delphi Developer |
2003-07-10 07:57:17 PM
Re:It's a error?
"Remy Lebeau \(TeamB\)" <XXXX@XXXXX.COM>writes:
Quote
ShowMessage(Socket.Connections[0].RemoteHost); ShowMessage(Socket.Connections[0].RemoteAddress); if my hostname will be SERVER-NT then the RemoteHost returns me SERVER-NT, now if my hostname will be SERVER NT, then the RemoteHost only returns me the SERVER. Understand my question Gambit? Yours Truly, Netcrusher |
Remy Lebeau (TeamB)
![]() Delphi Developer |
2003-07-11 12:46:49 AM
Re:It's a error?
"NetCrusher" <XXXX@XXXXX.COM>writes
Quoteif my hostname will be SERVER-NT then the RemoteHost returns the value at all, it is returned as-is. If you are seeing the value being truncated, then that is WinSock's doing itself, not the VCL's doing. Gambit |