473,792 Members | 2,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

send file with DirectPlay

Hi
Please tell me how can I send a file with DirectPlay to a
server.(Client/Server program).

Thanks in advance
Nov 16 '05 #1
3 1683
To do this you will have to load the file into the application and then send
the object... You could load it into a string and send it, or load the file
into a binary object and send that.

"Mohammad-Reza" <Mo**********@d iscussions.micr osoft.com> wrote in message
news:1A******** *************** ***********@mic rosoft.com...
Hi
Please tell me how can I send a file with DirectPlay to a
server.(Client/Server program).

Thanks in advance

Nov 16 '05 #2
Would you plz show me how?

"Glenn Wilson" wrote:
To do this you will have to load the file into the application and then send
the object... You could load it into a string and send it, or load the file
into a binary object and send that.

"Mohammad-Reza" <Mo**********@d iscussions.micr osoft.com> wrote in message
news:1A******** *************** ***********@mic rosoft.com...
Hi
Please tell me how can I send a file with DirectPlay to a
server.(Client/Server program).

Thanks in advance


Nov 16 '05 #3
hi, i need code client server by C#.
Thank

From http://www.google.com. vn/search?q="code" +"send+file+"+" client+server"+ "C#"&hl=vi&star t=60&sa=N

Posted via DevelopmentNow. com Groups
http://www.developmentnow.com
Jun 6 '07 #4

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

Similar topics

5
3069
by: Lt | last post by:
Hello, I'm gonna write my first 3D multiplayer game using DirectPlay, VC++ ..NET 2002. I've done tutorials supplied along with DXSDK Then I wanted to use the DirectX AppWizard but it produced over 2300 lines of code! It's cool to have prepared automatically all initializations but it's a little too much. That's because I can't find any documentation on details HOW IT WORKS, how I can integrate my own game code with this framework. In...
4
1512
by: JariTapio | last post by:
Hei! I explored DirectX 8.1 SDK and found TUT09_ClientServer it includes the following code as a part of the tutorial... //---- HRESULT WINAPI DirectPlayMessageHandler(PVOID pvUserContext, DWORD dwMessageId, PVOID pMsgBuffer) {
2
20751
by: Fatih BOY | last post by:
Hi, I want to send a report from a windows application to a web page like 'report.asp' Currently i can send it via post method with a context like local=En&Username=fatih&UserId=45&Firm=none But the problem occures when i want to send a data with & sign (i.e: Firm=F&B). I try to solve this problem with using boundary, but i failed. Any idea!?
1
2719
by: Moshe Bergman | last post by:
I am trying to launch Flight Simulator 2004, and have it connect to localhost, I can do this in C++ but not on C#... Here is my code: ConnectInformation info = new ConnectInformation(); ConnectionSettings settings = new ConnectionSettings(); settings.HostAddress = new Microsoft.DirectX.DirectPlay.Address("127.0.0.1", 23456);; Guid g = new Guid("0808caa5-e62c-4691-8957-5d4524b922da");
0
913
by: zhimin | last post by:
Hi, I'm writing a program to send large file(100m) through dotnet using TCPListener & TCPClient, I'm sending the file with a ask and response loop: 1. Client send a flag 1 to server indicate it has data send to server. 2. Client send the buffer block size. 3. Client send the actual buffer to the server. 4. Server send a flag 1 to client indicating that the buffer has been successfully receeived. 5. The next loop until all data of the...
3
2743
by: Téo | last post by:
Hi, Do you know where i could find some interesting documentation about DirectPlay for managed dev. I have been searching for a long time on the web without any success. Thanks.
4
18547
by: ad | last post by:
I want to send a DataSet to WebService, but the DataSet if too huge(there about 50000 records, and 50 fields every record). My solution is 1.save the DataSet as XML file, 2.zip the XML file. 3. send the zip file to WebService. 4. Unzip the zip file to XML. 5. Load XML file into DataSet. 6.Bulk copy the XML file to DataBase.
9
3157
by: eswanson | last post by:
I have a web page I need to post a file plus some other fields to it. How can I do this from a asp.net page. I know I can send individual fields to the other page, but how do I send a file to the other page, or is there something else like a stream which will be like a file. I am attempting to get a way from writing out a file and then having to give the page that I am posting to the file name. Instead I would like to just from asp.net...
4
3243
by: Chris Smith | last post by:
Experienced posters, Seems that the directx.networking newsgroup isn't very active, so forgive me for asking my question in this group. But anyone have any good example code or a good website for using DirectPlay 9 (DX9SDK) with vb.net. I have downloaded the sdk, and all the docs are for c#. Once again left out :( To give you some background on what I am trying to achieve. Create a
0
10430
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10211
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10159
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9033
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2917
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.