473,399 Members | 3,106 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,399 software developers and data experts.

What is the Use of SocketFlags.Partial

Client is sending data a,b,c using seperate send method to the server
eg.,
Socket.Send('a')
Socket.Send('b')
Socket.Send('c')

In the Server we are using Receive method to receive the incoming data
eg.,
while(true)
{
Socket.Receive(buffer,,SocketFlags.None)
-------
----
}
Receive method receives the data as a whole that is abc. But we want to
receive a,b,c in a successive receive and not in a single receive.

This is achiveved by changing SocketFlags.None to SocketFlags.Partial in the
receive method.
But we don't know what is happening while using above metioned flag.

Can any one send me the detailed description of SocketFlags.Partial parameter.
Nov 22 '05 #1
0 4250

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

Similar topics

0
by: Sathesh Arumugam | last post by:
Client is sending data a,b,c using seperate send method to the server eg., Socket.Send('a') Socket.Send('b') Socket.Send('c') In the Server we are using Receive method to receive the incoming...
9
by: Gomaw Beoyr | last post by:
Two question about the "partial classes" (in the next wersion of ..NET). Question 1 ========== Will partial classes (in the next version of C#) have to be declared "partial" in ALL places. ...
23
by: JDeats | last post by:
Just spent some time browsing around here: http://msdn.microsoft.com/Longhorn/ I can see the benefits from WinFS (as long as we tag all in-coming data this should be nice, tagging everything...
11
by: Hasan O | last post by:
Hi , i have problem about sending data over socket . It waits for another socket.send // str = Encoding.ASCII.GetBytes("hello"); socket.Send(str,0,str.Length,SocketFlags.None); ...
1
by: Hasan O | last post by:
Hi , maybe it is not the right place to ask . Hi , i have problem about sending data over socket . It waits for another socket.send // str = Encoding.ASCII.GetBytes("hello"); ...
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
3
by: Arronax | last post by:
Just a basic question after I didn't see any examples on the web other than the "None" enum. Is this just a way of sending "hints" to server/client, or is there another more valuable use to...
9
by: Fat Elvis | last post by:
I'd like to extend some of my Asp.net pages by using Partial Classes. Example ASP.Net Page: public partial class Admin_Customer : System.Web.UI.Page { protected void Page_Load(object sender,...
1
by: Ryan Liu | last post by:
Hi, One day I really need have a good study or network, not just C#. But I am in a hurry, can someone explain SocketFlags, is that save I use SocketFlags.None when I call Socket.Receive()...
0
by: sameh serag | last post by:
Hi all, I have a problem with .NET sockets... The code snippet bellow was working fine with .NET 2.0. After I installed .NET 3.0 it didn't work properly. private static void BeginReceiving() ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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
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...
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.