× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.







Scott,

Thanks for helping me. I have written a couple of socket programs using
your tutorial and everything works great. So I understand the phone
analogy. But this is my first server program so I'm not sure if the problem
is something I'm doing or  a problem in communications between me and the
client. This is what I have running:

MakeListener  (which connects on port 9700)

Dow 1 = 1
Accept Connection (which creates a new socket on another port? say 1490)
Talk to client (accept the data and send acknowlegement back)
Close Socket (which was created in the accept connection  say 1490)
Enddo

The client says this works once. When they try to send another message
(through port 9700), it fails. They tell me that their second message trys
to come in on 1490 again, even tho I closed that one. This makes no sense
to me but what do I know. Being a beginner on sockets I want to make sure
that this is what I should be doing.

Is is possible that they are trying to send the second message through port
1490? I didn't think that they would even know about that one. What if the
close didn't work correctly? Would their second messgage still be trying to
come in through 1490?

Thanks again,
Kathy


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.