Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by leangross

  1. leangross

    check if thread is running

    Few question about threading 1. is there a way i could check if an existing thread is still running? 2. how could i check if there is still active thread before i close the application? 3. How to stop a specific thread from running? I stored the thread id so i could reference it when i need...
  2. leangross

    closing/aborting thread

    hi i've created a multithreaded application. Now my problem is how could i close or abort a specific thread? I have a variable the holds the thread id and i use this "System.AppDomain.GetCurrentThreadId" to get the current id and store it to a variable. hope someone could help me.
  3. leangross

    socket listener

    Thanks guys!
  4. leangross

    socket listener

    yeah you're partially correct but client can still be connected even if it is not sending any data to the listener. is there other way of knowing if client is still connected or not?
  5. leangross

    socket listener

    im creating a socket listener and just wondering if there is a way the listener can detect if the client is no longer connect to it (listner)? thanks!
  6. leangross

    socket server application

    hi could anyone help me on this one. I already created a server application (listener) and a client application. my problem right now is how could the listener allow a multiple client connecting to it simultaneously? I know the beginaccept. beginreceive, beginsend are the methods i should...
  7. leangross

    object serialize

    is there a way not to include those properties with empty string value during serialization?
  8. leangross

    method signitures

    hi people, Is it possible not to assign value to any paramenter/method signatures on a function? I have some ex. here. public function Test ( byval a as string, byval b as string, byval c as string) dim z,x,y as string z = a x = b z = c end funcion Can i use the function test without...
  9. leangross

    dataset structure

    hi anyone has an idea how to create a dataset like structure? for example Dataset (this is what the object should look like) ----Tables ------Rows --------Columns so i could use this : for each table (item) in dataset (object) next I want to create an object similar to the structure...
  10. leangross

    Client and Server application problem

    hi, the port 9999 is unused. Any idea why? Thanks
  11. leangross

    Client and Server application problem

    hi im creating a client and server application that communicates with each other. Im just wondering why i cant read the data send from the client to my server (listener)application? HEre is my code Client: Dim s As Socket Dim SendData As String = "Sending this from client application."...
  12. leangross

    client/server multithreads

    hope someone could explain to me idea behind the concept of client/server application. ex. Client sends several files to the listener application on the server one by one and waits for the response from the server before it sends the next file. Server application will process each file from...
  13. leangross

    what is the difference between the two statements

    Dim buff(1001) As Char Dim buff2 As Char()
  14. leangross

    difference of each methods .net

    im getting confuse with these articles about .net remoting, network programming, windows services and internet protocols... could any one tell me the difference of each method from one another: - TcpClient.connect and Socket.connect and webrequest.create - webrequest/webresponse and...
  15. leangross

    socket class or TCPCllient class

    hi... one more question. if i will send/receive data using the internet,will i still use TCP connection or something else? is TCPClient for intranet only? how about socket, is it for internet connection only? Thanks in advance!!!

Part and Inventory Search

Back
Top