473,396 Members | 1,923 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,396 software developers and data experts.

Programming IP with C++ under DOS

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
3 1464
On 3 Feb 2006 12:04:41 -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.
Funny, I have a hard time imagining you saying the above sentences out
loud with a Texas accent ...
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.
Isn't that (i.e. Borland C++ 5.02) a 16-bit compiler? I hope you
aren't using that "at work"...if it is, you're probably doomed to
failure.

<OT-rant-mode>
If your question is about C language, you need to ask in comp.lang.c,
not comp.lang.c++. They are not the same language, in case you didn't
know.

If your question is about VB.Net or DOS, you need to ask in one of the
Microsoft groups ... it's off-topic to discuss platform-specific
operating systems and non-C++ programming languages in this group.

If your question is about Borland, you need to ask in one of the
Borland groups.
</OT-rant-mode>
So I need your help in two things:
So where is your C++ question??
1) Would run a program made in Borland C++ 5.02 under DOS?
Who knows? Probably ... but what you can do with it WRT interaction
with other processes depends on the OS as well as the version. Again,
this has nothing to do with C++.
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.
Again, there is no built-in support for IP (whatever you think that
might be) in C++. You'll need to use third-party libraries for that,
and they might not be portable across platforms.
I'd appreciate your help since I'm in a rush at work
Thanks you so much...


Much obliged, y'all hear now? <g>

--
Bob Hairgrove
No**********@Home.com
Feb 3 '06 #2

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

As I recall, BC 5.02 still came with a 16 bit DOS compiler. You'll
have to consult your compiler documentation regarding its use.
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 faced a similar problem about two years ago. I was unable to locate
any API that would allow a dos-on-windows application to use the
sockets API. What I did find was that the dos app could open named
pipes as regular files. I wound up creating a server that offered two
named pipes (one for reading and one for writing) and this server
managed the sockets API for the DOS app. This isn't something that I
would want to tackle from VB (.NET or otherwise).
Regards,

Jon Trauntvein

Feb 4 '06 #3
Thank's for your help Jon! I'll try that... I don't have many options
since my boss is who make the calls... Thank you so much...

And Bob I'm so sorry cause I made question "off topic" here...

Feb 6 '06 #4

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

Similar topics

5
by: Martin | last post by:
When was inheritance intruduced into object oriented programming? More generally, does anyone know or have any sources on when the different features were introduced into object oriented...
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...
134
by: evolnet.regular | last post by:
I've been utilising C for lots of small and a few medium-sized personal projects over the course of the past decade, and I've realised lately just how little progress it's made since then. I've...
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...
47
by: Thierry Chappuis | last post by:
Hi, I'm interested in techniques used to program in an object-oriented way using the C ANSI language. I'm studying the GObject library and Laurent Deniau's OOPC framework published on his web...
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...
14
by: deko | last post by:
For building Windows desktop apps, the clear favorite is C#. But my clients can't afford to buy Microsoft products. So I need to develop software for Linux users and web applications. In the...
17
by: CoreyWhite | last post by:
I bought this book years ago, when I was just learning C++. Since then I've gone through every math course offered at my college, taken courses on coding C & thinking in terms how how to make the...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.