Results 1 to 3 of 3

Thread: Socket Programming

Hybrid View

  1. #1
    PowerPoster Halsafar's Avatar
    Join Date
    Jun 2004
    Location
    Saskatoon, SK
    Posts
    2,339

    Re: Socket Programming

    Doesn't Java use Winsock as well???

    Anyway, it shouldn't matter where the connection comes from they will be able to connect, it is dealing with the difference in how data is interpreted by each langauge which can be a problem.

    Lately I've been using telnet to connect to my server for testing purpose's...
    A connection is a connection unless the protocls are completly different. (TCP, UDP, etc)
    "From what was there, and was meant to be, but not of that was faded away." - - Steve Damm

    "The polar opposite of nothingness is existance. When existance calls apon nothingness it shall return to nothingness." - - Steve Damm

    "When you do things right, people won't be sure if you did anything at all." - - God from Futurama

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Location
    O!
    Posts
    1,177

    Re: Socket Programming

    I have done Java client and VB server, passing UDT type structures. In the Java client I use DataInputStream and DataOutputStream. The VB server converts the UDT to/from a byte array when sending/receiving.

    The type of data in the file may determine the type of stream that you use.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width