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

Socket.SendFile() but no Socket.ReceiveFile() ?

hi, ive done work with sockets and such before, so its nothing new. thought
id try the Socket.SendFile() method instead of the manual way. however, there
is no Socket.ReceiveFile() method. How do i go about receiving a file from
Socket.SendFile()? thanks
--
-iwdu15
Nov 19 '06 #1
0 1373

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

Similar topics

8
by: simon place | last post by:
Spent some very frustrating hours recoding to find a way of closing a server socket, i'd not thought it would be any problem, however, after complete failure and as a last resort, i looked at the...
4
by: zelzel.zsu | last post by:
I wrote two simple socket program. one for sending a file and the other for receiving the file. but when I run it, a curious thing happened. The received file was samller that the sent file. $...
0
by: Fil | last post by:
This is a similar problem to what I am having. Where is the code though? Fil >-----Original Message----- >Hye friends, > I am Jigar Mehta from India. Currently I am developing an...
1
by: djc | last post by:
the system.net.sockets.socket class has the 'sendfile' method. What do you do on the other end to 'receive' the file? I know the regular socket.receive will receive the data into a buffer (a byte...
0
by: Simon Says | last post by:
Hi all, Can anyone advice on how to use the SendFile function? If I have a connection-oriented socket, I'll do a sck.SendFile("C:\test.txt") to send out the file, but what should I do on...
1
by: Aerodyne | last post by:
Hi all, I'm using .NET 2.0 but unfortunately there's a windows service that needs to be implemented in .NET 1.1 ... so I need to send a file to a server, what's the similar method of doing so...
0
by: iwdu15 | last post by:
hi, using sockets, how can i receive a file? i see a SendFile method, but no receivefile? ive done simple text sending and bytes, but that requires knowing an array size...so how can i receive a...
0
by: Matt | last post by:
Hi all, Probably a silly mistake, but I seem to be losing 24 bytes every time I attempt to send a file using Socket.SendFile(). Here is my code: Here is the server method: void...
4
by: Greg Copeland | last post by:
I'm having a brain cramp right now. I can't see to recall the name of a module. I know there is a python module which allows for optimized socket writes on Linux. It uses a syscall to obtain its...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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...

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.