TCP IP programming under DOS with C

H

Hugo

Hi Y'All...


I really need your help!! I've used this groups to learn and get me out
of troubles but this is my first time writing a subject.

My problem is that I need to make a C program that run in DOS and
comunicates to another program made in VB.Net 2005. I used Borland C++
5.02 but I´m not even sure if it would run in DOS.

So I need your help in two things:

1) Would run a program made in Borland C++ 5.02 under DOS?

2) And Most Important: I need some kind of guide to make a program that
uses IP in order to get comunicate with another program.

I'd appreciate your help since I'm in a rush at work

Thanks you so much...
 
A

Al Balmer

Hi Y'All...


I really need your help!! I've used this groups to learn and get me out
of troubles but this is my first time writing a subject.

If you had really learned anything from this group, you would know
that your question is off-topic here.
My problem is that I need to make a C program that run in DOS and
comunicates to another program made in VB.Net 2005. I used Borland C++
5.02 but I´m not even sure if it would run in DOS.

Find a newsgroup that deals with DOS programming.
 
C

CBFalconer

Hugo said:
.... snip ...

My problem is that I need to make a C program that run in DOS and
comunicates to another program made in VB.Net 2005. I used Borland
C++ 5.02 but I´m not even sure if it would run in DOS.

It won't. You need DJGPP system. www.delorie.com

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
 
K

Keith Thompson

Hugo said:
I really need your help!! I've used this groups to learn and get me out
of troubles but this is my first time writing a subject.

My problem is that I need to make a C program that run in DOS and
comunicates to another program made in VB.Net 2005. I used Borland C++
5.02 but I´m not even sure if it would run in DOS.

DOS and communication between programs are not part of the standard C
programming language, and are therefore off-topic here. I'm not just
being picky; a lot of us here are C experts, but we don't necessarily
know anything about DOS programming.

There's a "comp.os.msdos.programmer" newsgroup, and a quick glance
indicates that it seems to be fairly active. You might try asking
there.
 
R

Rod Pemberton

The real issue here is that your request is 'between' newsgroups because you
mentioned DOS and VB.Net. There are bunch of people here who won't provide
you with any information because your question isn't specific enough for
their arbitrary tastes... Inter-process communication between C programs
would probably be valid in there jaded eyes.
DOS and communication between programs are not part of the standard C
programming language, and are therefore off-topic here. I'm not just
being picky; a lot of us here are C experts, but we don't necessarily
know anything about DOS programming.

It's 99.9999% the same as regular C. But, a C expert would know that...
Yes, you are being picky.
There's a "comp.os.msdos.programmer" newsgroup, and a quick glance
indicates that it seems to be fairly active. You might try asking
there.

Stop redirecting people for valid C questions.


Rod Pemberton
 
A

Al Balmer

The real issue here is that your request is 'between' newsgroups because you
mentioned DOS and VB.Net. There are bunch of people here who won't provide
you with any information because your question isn't specific enough for
their arbitrary tastes...

Nothing arbitrary about it.
Inter-process communication between C programs
would probably be valid in there jaded eyes.
Wrong.

It's 99.9999% the same as regular C.

Wrong. Especially when you throw in IP communications.
But, a C expert would know that...
Yes, you are being picky.


Stop redirecting people for valid C questions.
Why? Are you afraid they'll get effective help? Are you mad at the
people in c.o.m.p.?
 
M

Mark McIntyre

It's 99.9999% the same as regular C. But, a C expert would know that...

An actual C expert would know that you're incorrect.
Stop redirecting people for valid C questions.

Please find where in ISO/IEC 9899:1999 it mentions DOS, TCP, Visual
Basic, .net, etc.
Mark McIntyre
 
J

Jack Klein

DOS and communication between programs are not part of the standard C
programming language, and are therefore off-topic here. I'm not just
being picky; a lot of us here are C experts, but we don't necessarily
know anything about DOS programming.

....or we did, a long, long time ago, way back in the last century, but
the memories fade.

....and it's OT, of course.
 
B

Barry

Keith Thompson said:
DOS and communication between programs are not part of the standard C
programming language, and are therefore off-topic here. I'm not just
being picky; a lot of us here are C experts, but we don't necessarily
know anything about DOS programming.

There's a "comp.os.msdos.programmer" newsgroup, and a quick glance
indicates that it seems to be fairly active. You might try asking
there.
San Diego Supercomputer Center <*>
We must do something. This is something. Therefore, we must do this.

Albeit OT, an incorrect answer is not appropriate in my opinion.
No answer and a redirection would be the appropriate response, would it not?
I have only been reading this group for a couple of years, but I would
assume
incorrect answers not in anyones best interest. And I have made many.
 
K

Keith Thompson

[snip]

(Please don't quote signatures.)
Albeit OT, an incorrect answer is not appropriate in my opinion. No
answer and a redirection would be the appropriate response, would it
not? I have only been reading this group for a couple of years, but
I would assume incorrect answers not in anyones best interest. And
I have made many.

I'm confused. What "incorrect answer" are you referring to? "No
answer and a redirection" is exactly what I did -- or at least, that
was my intent. Was comp.os.msdos.programmer not the right newsgroup?
 
H

Hugo

I was needed for help... I can´t undestand why you have to be so
agressive... If I made an incorrect question on your group it would be
better if you only tell me that´I´m wrong... I can´t see why if you
are in a group to help people, you have to act like that...

Maybe if you think of you as a God, you should be in a private group
where people like me, who doesn't have all the anwsers, can´t make a
incorrect question...

Don't worry I'll find help in another group...
Thanks for taking the time to reply everything but an answer to my
question... And thanks for those who tried to help me!!!
 
N

Nick Keighley

Hugo said:
I was needed for help... I can´t undestand why you have to be so
agressive... If I made an incorrect question on your group it would be
better if you only tell me that´I´m wrong... I can´t see why if you
are in a group to help people, you have to act like that...

Maybe if you think of you as a God, you should be in a private group
where people like me, who doesn't have all the anwsers, can´t make a
incorrect question...

Don't worry I'll find help in another group...
Thanks for taking the time to reply everything but an answer to my
question... And thanks for those who tried to help me!!!

who do you think was agressive to you? You were politely directed to a
ng where you could get correct and answers. Now Rod Pemberton is a
different fettle of aquine life forms...
 
H

Hugo

who do you think was agressive to you? You were politely directed to a
ng where you could get correct and answers. Now Rod Pemberton is a
different fettle of aquine life forms...

Do you find "If you had really learned anything from this group, you
would know
that your question is off-topic here." polite? I don't think so...
Diplomatic yes, polite uhmmm No....

Maybe you should specify that this is an "EXPERT GROUP" so people like
me don't come here thinking that they are going to recieve help....
 
W

Walter Roberson

Hugo said:
Maybe you should specify that this is an "EXPERT GROUP" so people like
me don't come here thinking that they are going to recieve help....

Specify where ?? What material -exactly- did *you* check out before
deciding whether this was an appropriate newsgroup for your question?

Seriously, where did you look before posting, that we could have
put some kind of warning or "terms and conditions" or "list of
rules" or what-have-you, that you would have read and so known
that this newsgroup was not the right one for your question?

It would appear that you didn't look at the FAQ, and that you didn't
look at more than four random previous messages -- so where *would*
have caught your attention?
 
H

Hugo

Specify where ?? What material -exactly- did *you* check out before
deciding whether this was an appropriate newsgroup for your question?

Seriously, where did you look before posting, that we could have
put some kind of warning or "terms and conditions" or "list of
rules" or what-have-you, that you would have read and so known
that this newsgroup was not the right one for your question?

It would appear that you didn't look at the FAQ, and that you didn't
look at more than four random previous messages -- so where *would*
have caught your attention?

Let me get this right... So, I was needed for help with a program that
I have to develop with C, and I made a mistake because I posted a
question in a group that treat language C question?

You know what I have a great idea for you! You can rename this group as
comp.lang.THEEXPERTS.c... no no no... I came up with a better one:
comp.lang.GODSofC(don't post here unless you think that you´re a
God)... In that way you don´t have to create a warning or "Terms and
conditions", and the people whose looking for help don't have to read
several pages of rules...
 
L

Lew Pitcher

Hugo said:
Let me get this right... So, I was needed for help with a program that
I have to develop with C, and I made a mistake because I posted a
question in a group that treat language C question?

Nope.

You needed help with a program that made use of proprietary extensions
to the C language, and you posted your question to a newsgroup that only
deals with the C language (and not proprietary extensions to it).

You received polite suggestions that, should you require assistance with
the proprietary extensions, you should contact some other source of
information.

--

Lew Pitcher, IT Specialist, Corporate Technical Solutions,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
 
W

Walter Roberson

Let me get this right... So, I was needed for help with a program that
I have to develop with C, and I made a mistake because I posted a
question in a group that treat language C question?

Unfortunately, you did not answer the question. Allow me to rephrase
it very slightly:

What led you to decide that this newsgroup is one that "treat
language C question" in general? What are some specific and realistic
places that we could have entered material that you would have read
-before- posting, that would have let you know that this newsgroup
is not one for answering any random question having to do with the
use of C on any platform?

You have suggested that we should have "specified" that the newsgroup
was for "experts only". Even if that were true (which it isn't), where
could we have put that information that -you- would have seen it and
heeded it before posting? What more could we have done than we are
already doing, to get the word out that this newsgroup is more specific
than your assumption?

I'm not flaming you here: I'm asking seriously: what approach
would have worked for -you- ?

You know what I have a great idea for you! You can rename this group as
comp.lang.THEEXPERTS.c... no no no... I came up with a better one:
comp.lang.GODSofC(don't post here unless you think that you're a
God)... In that way you don't have to create a warning or "Terms and
conditions", and the people whose looking for help don't have to read
several pages of rules...

The way you have written that suggests to readers that the only
thing you looked at before deciding that comp.lang.c was an
appropriate newsgroup for your question, was the name of the newsgroup
itself. Is that the case? -Did- you attempt any kind of cross-checking
before posting? -Did- you look for a FAQ? -Did- you examine any of the
previous messages to confirm that you had the right place?

We -do- take measures, usually several times every day, to -try-
to make clear what comp.lang.c is about, but the measures we have
taken do not appear to have matched with the checking strategy
that you used in deciding whether this was the right newsgroup or not.
How could we improve so that people like yourself would find the
appropriate newsgroup more often?

Please, be constructive in your reply.
 
N

Nick Keighley

Hugo said:
Do you find "If you had really learned anything from this group, you
would know
that your question is off-topic here." polite? I don't think so...
Diplomatic yes, polite uhmmm No....

I just reread the whole thread I can't find any post that said that to
you.
Maybe you should specify that this is an "EXPERT GROUP" so people like
me don't come here thinking that they are going to recieve help....

but you did receive help...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,175
Messages
2,570,942
Members
47,489
Latest member
BrigidaD91

Latest Threads

Top