VOGONS


First post, by John1985

User metadata
Rank Newbie
Rank
Newbie

Hello, everyone.
Now I am going to develop some simple applications to get html pages from web server, ping to other hosts using C.
These applications must be run in FreeDos and Dosbox.
Can anyone let me know which library should be used for Dos network programming?
I know there are Watt32 and MTCP already, but I am so confused about them now.
I have an old watt32 lib and include header files for C programming, but they make tons of errors when compiling.
And I couldn't find the latest dev package about watt32 or MTCP.

Reply 1 of 7, by Nikita Afanasev

User metadata
Rank Newbie
Rank
Newbie

MTCP is a collection of applications such as ping, dhcp, htget and so on.
I can't understand how you are going to use them for c coding.

Reply 2 of 7, by John1985

User metadata
Rank Newbie
Rank
Newbie

Then what about watt32? It is really network library for c programming.
Could you explain to me how to use it now?
I am building my program using djgpp in dosbox.

Reply 4 of 7, by John1985

User metadata
Rank Newbie
Rank
Newbie

Thanks for your advice.
My goal is to code a program which sends and receive packets manually, so I need dev env

Reply 5 of 7, by mbbrutman

User metadata
Rank Member
Rank
Member

I'm not quite sure what the confusion is. The mTCP source code includes a 26 page PDF doc with information for developers, including notes on what compiler to use. Have you looked at it?

What is your question?

Reply 6 of 7, by mbbrutman

User metadata
Rank Member
Rank
Member
Nikita Afanasev wrote on 2021-09-01, 18:51:

MTCP is a collection of applications such as ping, dhcp, htget and so on.
I can't understand how you are going to use them for c coding.

It's more than just the compiled programs. The mTCP source code also provides a framework for building your own applications using the mTCP TCP/IP stack and utilities.

Reply 7 of 7, by Stiletto

User metadata
Rank l33t++
Rank
l33t++

Moved to Marvin -> Software.

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto