socket from B4ppc to C++ builder or Delphi not working

rdx

New Member
Licensed User
Hello,

I'm just junior programming,
I has read all about socket and network.dl, binaryfile.dll from this forum.

I create like chitchat application

1. use c++ builder,
xserver act a server
xclient act a client sending message to server

all this application is working fine. U must compile this with C++ builder

2. I make client application from basic4ppc
I use device with WM6, netCF 2.0

client4ppc

still not working, I'm stuck here, 4 day looking a solution, but not get help
please anyone can help fix the problem.

thank you for Attention and Replay
 

Attachments

  • B4ppcToC++Server.zip
    22.8 KB · Views: 208

Zenerdiode

Active Member
Licensed User
StringToBytes returns an array and WriteBytes expects an array.
 

Attachments

  • client4ppc.sbp
    1.9 KB · Views: 220

rdx

New Member
Licensed User
Hello, Zenerdiode

Dim buffer(0) As byte
buffer()=stream.StringToBytes("this is the message")
stream.WriteBytes(buffer())

still not working.

I use INDY component for the server application in C++ Builder use socket in TCP server
any idea? or another way?
 
Top