Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

kiranprabhu

@kiranprabhu
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • BeginRead Method
    K kiranprabhu

    Create a object which looks something like this class ObjectState { public byte[] myReadBuffer = new byte[2048]; public NetworkStream str = set the network stream object u had created } now when you call beginread call it this way ObjectState state = new ObjectState(); networkstream.BeginRead(state.myReadBuffer, 0, 2048, AsyncCallback method pointer, state) //Pass state object to last parameter of BeginRead. when u endread ObjectState state; state = (objectState) result.AsyncState; int numberOfBytesRead = 0; numberOfBytesRead = str.EndRead(result); now use state.myReadBuffer; //This should contain the data u r looking for

    C# question tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups