| View previous topic :: View next topic |
| Author |
Message |
Daaron Guest
|
Posted: Mon Oct 20, 2003 3:07 pm Post subject: Nature of "cannot assign requested address" |
|
|
I am using the IdTelnetServer and client in my application. My tests were
successful, but my first beta site is reporting an error "cannot assign
requested address." What does this error mean?
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Mon Oct 20, 2003 4:13 pm Post subject: Re: Nature of "cannot assign requested address" |
|
|
"Daaron" <ddwyer_ (AT) star_band (DOT) net_removeUnderscores> wrote in message
3f93fa1a$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I am using the IdTelnetServer and client in my application. My tests were
successful, but my first beta site is reporting an error "cannot assign
requested address." What does this error mean?
|
Off the top of my head it sounds as though either you hard-coded the TCP/IP
address in there, or the requested port is already in use.
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
| Back to top |
|
 |
Daaron Guest
|
Posted: Mon Oct 20, 2003 7:13 pm Post subject: Re: Nature of "cannot assign requested address" |
|
|
That seems odd because there is already a specific "port in use" error that
Indy shows, and if I hard-coded the IP address, it should just reply with
host unreachable.
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote
| Quote: | "Daaron" <ddwyer_ (AT) star_band (DOT) net_removeUnderscores> wrote in message
3f93fa1a$1 (AT) newsgroups (DOT) borland.com...
I am using the IdTelnetServer and client in my application. My tests
were
successful, but my first beta site is reporting an error "cannot assign
requested address." What does this error mean?
Off the top of my head it sounds as though either you hard-coded the
TCP/IP
address in there, or the requested port is already in use.
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
|
| Back to top |
|
 |
Chad Z. Hower aka Kudzu Guest
|
Posted: Mon Oct 20, 2003 7:28 pm Post subject: Re: Nature of "cannot assign requested address" |
|
|
"Daaron" <ddwyer_ (AT) star_band (DOT) net_removeUnderscores> wrote in news:3f9433e5
@newsgroups.borland.com:
| Quote: | That seems odd because there is already a specific "port in use" error
Indy shows, and if I hard-coded the IP address, it should just reply with
host unreachable.
|
Check your bindings.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Is Indy useful to you? Send a postcard please!
http://www.hower.org/kudzu/indypost.html
ELKNews - Get your free copy at http://www.atozedsoftware.com
|
|
| Back to top |
|
 |
Daaron Guest
|
Posted: Mon Oct 20, 2003 8:36 pm Post subject: Re: Nature of "cannot assign requested address" |
|
|
Sorry Chad, maybe I'm too thick today. What about the bindings should I be
checking?
The implementation I have is that a teacher application (telnet client)
connects to several student applications (telnet server). I create a class
on the teacher called TStudent that creates a TIdTelnet component in it's
constructor and do not currently set the BoundIP or BoundPort. The teacher
is receiving the "Cannot assign requested address" message.
Thanks In Advance,
Daaron
"Chad Z. Hower aka Kudzu" <cpub (AT) hower (DOT) org> wrote
| Quote: | "Daaron" <ddwyer_ (AT) star_band (DOT) net_removeUnderscores> wrote in news:3f9433e5
@newsgroups.borland.com:
That seems odd because there is already a specific "port in use" error
Indy shows, and if I hard-coded the IP address, it should just reply
with
host unreachable.
Check your bindings.
|
|
|
| Back to top |
|
 |
Chad Z. Hower aka Kudzu Guest
|
Posted: Mon Oct 20, 2003 8:55 pm Post subject: Re: Nature of "cannot assign requested address" |
|
|
"Daaron" <ddwyer_ (AT) star_band (DOT) net_removeUnderscores> wrote in news:3f944768$1
@newsgroups.borland.com:
| Quote: | Sorry Chad, maybe I'm too thick today. What about the bindings should I
checking?
|
The bindings property, double click it. See if any boundIP or boundport
properties are set.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Want to keep up to date with Indy?
Join Indy News - it free!
http://www.atozed.com/indy/news/
ELKNews - Get your free copy at http://www.atozedsoftware.com
|
|
| Back to top |
|
 |
Daaron Guest
|
Posted: Wed Oct 22, 2003 11:29 pm Post subject: Re: Nature of "cannot assign requested address" |
|
|
The bindings property is not set on the client or server side. Anything
else to check?
"Chad Z. Hower aka Kudzu" <cpub (AT) hower (DOT) org> wrote
| Quote: | "Daaron" <ddwyer_ (AT) star_band (DOT) net_removeUnderscores> wrote in
news:3f944768$1
@newsgroups.borland.com:
Sorry Chad, maybe I'm too thick today. What about the bindings should I
checking?
The bindings property, double click it. See if any boundIP or boundport
properties are set.
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Oct 22, 2003 11:38 pm Post subject: Re: Nature of "cannot assign requested address" |
|
|
"Daaron" <ddwyer_ (AT) star_band (DOT) net_removeUnderscores> wrote
| Quote: | The bindings property is not set on the client or server side.
|
It has to be. If you do not set it yourself, then a Binding is created
automatically upon initial opening of the socket.
Gambit
|
|
| Back to top |
|
 |
Daaron Guest
|
Posted: Fri Oct 24, 2003 10:11 pm Post subject: Re: Nature of "cannot assign requested address" |
|
|
Ok, then I amend my previous statement-- I am not setting it on the client
or server side during design or runtime, but my user is still encountering a
problem.
"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote
| Quote: |
"Daaron" <ddwyer_ (AT) star_band (DOT) net_removeUnderscores> wrote in message
news:3f9712ee (AT) newsgroups (DOT) borland.com...
The bindings property is not set on the client or server side.
It has to be. If you do not set it yourself, then a Binding is created
automatically upon initial opening of the socket.
Gambit
|
|
|
| Back to top |
|
 |
|