![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-31 06:41 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » Ask about TCP communication programs under DOS |
| Printable Version 2,847 / 9 |
| Floor1 david0620 | Posted 2008-12-12 10:21 |
| 初级用户 Posts 13 Credits 27 | |
|
I want to write a communication program that connects DOS to Windows.大概 as follows:
Read the content in a file and send this content information to the server, and generate a file with the same content on the server. How to implement the above? What tools are needed to write the program under DOS? What things are needed to write the program under Windows and how to receive it? |
|
| Floor2 david0620 | Posted 2008-12-12 11:35 |
| 初级用户 Posts 13 Credits 27 | |
|
Why hasn't anyone answered?
|
|
| Floor3 johnsonlam | Posted 2008-12-12 13:47 |
| 银牌会员 Posts 497 Credits 1,410 From 九龍,香港 | |
Originally posted by david0620 at 2008-12-12 11:35 AM: 1) There are no people who understand here 2) There are no people who understand here 3) People who understand are not willing to answer It shouldn't be 3, right |
|
| Floor4 david0620 | Posted 2008-12-12 14:10 |
| 初级用户 Posts 13 Credits 27 | |
|
This should be known by someone, just give me a way.
1. What programming tools are needed to write DOS programs under DOS? (TC or Wattcp) 2. What tools are needed to write this receiving program under Windows? (.net or others) 3. What things are needed between each other? |
|
| Floor5 BSL007 | Posted 2008-12-14 20:40 |
| 新手上路 Posts 5 Credits 14 | |
|
Don't think about it! I've already tried it~!
The packet loss of programs under DOS is too serious! |
|
| Floor6 netwinxp | Posted 2008-12-15 09:48 |
| 高级用户 Posts 366 Credits 741 | |
|
For DOS networking, it's best to use mature NOVELL or NetworkClient platforms, which have interrupt programming interfaces.
|
|
| Floor7 zhgwbzhd | Posted 2008-12-16 22:38 |
| 高级用户 Posts 187 Credits 506 | |
|
Programming with WATTCP, within the local area network. Using the TCP protocol, I think it's still okay.
|
|
| Floor8 zqlcch | Posted 2008-12-17 08:53 |
| 初级用户 Posts 85 Credits 178 | |
|
Just use the DSOCK library + packet network environment.
|
|
| Floor9 tobb133 | Posted 2008-12-18 17:58 |
| 新手上路 Posts 9 Credits 18 | |
|
In DOS, use Borland C 3.1; in Windows, you can use VC, Delphi, etc. The development libraries use TCPCP or WATTCP
|
|
| Floor10 winson4829 | Posted 2010-02-26 13:32 |
| 初级用户 Posts 17 Credits 68 | |
|
The answer is (3)
If your foundation is sufficient~~Refer to the Example (including Source Code) under Watt-32 Network Tools in http://www.bgnett.no/~giva/~~You can write a basic Send/Receive program in a few hours I have used it extensively in DJGPP and Borland C/C++ 4.5~~One of the applications is the way you described, as a TSR (resident mode), scanning a specific directory, and uploading files over TCP. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |