473,385 Members | 1,282 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

TCP IP programming under DOS with C

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...

Feb 3 '06 #1
20 2643
On 3 Feb 2006 12:02:42 -0800, "Hugo" <hr*******@gmail.com> wrote:
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.
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...


--
Al Balmer
Sun City, AZ
Feb 3 '06 #2
Hugo wrote:
.... 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/>

Feb 3 '06 #3
"Hugo" <hr*******@gmail.com> writes:
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.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Feb 3 '06 #4

"Keith Thompson" <ks***@mib.org> wrote in message
news:ln************@nuthaus.mib.org...
"Hugo" <hr*******@gmail.com> writes:
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.

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


Feb 4 '06 #5

"CBFalconer" <cb********@yahoo.com> wrote in message
news:43***************@yahoo.com...
Hugo wrote:

... 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


Wrong! Borland C++ 4.5 will produce DOS executables and you're trying to
tell me and others 5.02 won't? Bullshit.
Rod Pemberton
Feb 4 '06 #6
On Fri, 03 Feb 2006 23:52:08 GMT, "Rod Pemberton"
<do*******@bitbucket.cmm> wrote:

"Keith Thompson" <ks***@mib.org> wrote in message
news:ln************@nuthaus.mib.org...
"Hugo" <hr*******@gmail.com> writes:
> 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.

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.
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.


Wrong. Especially when you throw in IP communications.
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.

Why? Are you afraid they'll get effective help? Are you mad at the
people in c.o.m.p.?

--
Al Balmer
Sun City, AZ
Feb 4 '06 #7
On Fri, 03 Feb 2006 23:52:08 GMT, in comp.lang.c , "Rod Pemberton"
<do*******@bitbucket.cmm> wrote:

"Keith Thompson" <ks***@mib.org> wrote in message
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...


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
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Feb 4 '06 #8
On Fri, 03 Feb 2006 22:08:16 GMT, Keith Thompson <ks***@mib.org> wrote
in comp.lang.c:
"Hugo" <hr*******@gmail.com> writes:
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.


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

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

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Feb 4 '06 #9

"Keith Thompson" <ks***@mib.org> wrote in message
news:ln************@nuthaus.mib.org...
"Hugo" <hr*******@gmail.com> writes:
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.

--
Keith Thompson (The_Other_Keith) ks***@mib.org

<http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> 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.
Feb 4 '06 #10
"Barry" <ba****@highstream.net> writes:
"Keith Thompson" <ks***@mib.org> wrote in message
news:ln************@nuthaus.mib.org...
"Hugo" <hr*******@gmail.com> writes:
> 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.

[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?

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Feb 4 '06 #11
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!!!

Feb 6 '06 #12

Hugo wrote:
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...
--
Nick Keighley

Feb 6 '06 #13
On 6 Feb 2006 07:14:35 -0800, "Hugo" <hr*******@gmail.com> wrote:

Don't worry I'll find help in another group...


You see, you *did* get the correct answer.

--
Al Balmer
Sun City, AZ
Feb 6 '06 #14
> 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....

Feb 6 '06 #15
In article <11*********************@z14g2000cwz.googlegroups. com>,
Hugo <hr*******@gmail.com> wrote:
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?
--
"No one has the right to destroy another person's belief by
demanding empirical evidence." -- Ann Landers
Feb 6 '06 #16
> 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...

Feb 6 '06 #17
Hugo wrote:
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?


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)
Feb 6 '06 #18
In article <11**********************@g43g2000cwa.googlegroups .com>,
Hugo <hr*******@gmail.com> wrote:
Specify where ?? What material -exactly- did *you* check out before
deciding whether this was an appropriate newsgroup 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?
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.
--
"It is important to remember that when it comes to law, computers
never make copies, only human beings make copies. Computers are given
commands, not permission. Only people can be given permission."
-- Brad Templeton
Feb 6 '06 #19

Hugo wrote:
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....


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...
--
Nick Keighley

Feb 7 '06 #20
On 7 Feb 2006 00:06:33 -0800, "Nick Keighley"
<ni******************@hotmail.com> wrote:

Hugo wrote:
> 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....


I just reread the whole thread I can't find any post that said that to
you.


I did. He started out by saying in effect that he had been lurking
here for some time and had learned a lot from the group. I pointed out
one rather obvious thing that he had failed to learn. Perhaps that was
impolite, but it annoys me when people fib for no good reason.

I then suggested that he find a group concerned with DOS programming.
So he got the proper answer on the very first reply.
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...


--
Al Balmer
Sun City, AZ
Feb 7 '06 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
3
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
30
by: Jakle | last post by:
I have been googling, but can seem to find out about C GUI libraries. My main platform is Windows, but it would be nice to find a cross platform library. I've been programming with php, which...
111
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.