BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Nature of "cannot assign requested address"

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Daaron
Guest





PostPosted: Mon Oct 20, 2003 3:07 pm    Post subject: Nature of "cannot assign requested address" Reply with 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?


Back to top
Ignacio Vazquez
Guest





PostPosted: Mon Oct 20, 2003 4:13 pm    Post subject: Re: Nature of "cannot assign requested address" Reply with quote



"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





PostPosted: Mon Oct 20, 2003 7:13 pm    Post subject: Re: Nature of "cannot assign requested address" Reply with quote



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





PostPosted: Mon Oct 20, 2003 7:28 pm    Post subject: Re: Nature of "cannot assign requested address" Reply with quote

"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





PostPosted: Mon Oct 20, 2003 8:36 pm    Post subject: Re: Nature of "cannot assign requested address" Reply with quote

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





PostPosted: Mon Oct 20, 2003 8:55 pm    Post subject: Re: Nature of "cannot assign requested address" Reply with quote

"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





PostPosted: Wed Oct 22, 2003 11:29 pm    Post subject: Re: Nature of "cannot assign requested address" Reply with quote

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





PostPosted: Wed Oct 22, 2003 11:38 pm    Post subject: Re: Nature of "cannot assign requested address" Reply with quote


"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





PostPosted: Fri Oct 24, 2003 10:11 pm    Post subject: Re: Nature of "cannot assign requested address" Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.