Beginner
Location: Sesto Fiorentino, Florence (ITALY)
Occupation: design & development (HW, SW & FW)
db2000 lightchat
db2000 lightchat
db2000 lightchat is really a simple project and doesn't introduce any particular difficulty for the source code interpretation. Anyone who wants to improve the project, by making changes or new integrations (ex. different colors for the texts of the messages, multi-users and multi-rooms, etc.), may do so and is welcome! 


hey thanks for this example, I was wondering why Jabaco uses the winsock component and if I use it will it work on Linux? I thought Winsock was just windows? or have they re-coded it so it uses same name but different 'library' like a java winsock library or something? I'm new to Jabaco and I'm like in LOVE with the idea of coding in VB6 with the power of JAVA, means faster code which is a MUST for me since I'm into performance. Anyways, would appreciate an answer from anyone really
I need to know!
I need to know!
Quoted
I thought Winsock was just windows?
The interface is similar to the Winsock class of Visual Basic. That's the only reason for the name - Jabaco Winsock works on every Java platform. FYI: You are also able to use the Java socket directly.
Thanks very much for the clarification this is very good news for me man, thanks I'm like falling in love with this language. Thanks a lot for your help man!
Quoted
I thought Winsock was just windows?
The interface is similar to the Winsock class of Visual Basic. That's the only reason for the name - Jabaco Winsock works on every Java platform. FYI: You are also able to use the Java socket directly.
Beginner
Location: Caracas, Venezuela - Bogota, Colombia
Occupation: Senior Developer - SLM Sistemas
TCP Server Help.
Hello, excelent sample ... thanks a lot ... i'm a socket developer in VB6 ... i want to migrate all my applications to JABACO ... but, at this moment i'm really new, so i need to understand a lot of issues ...
First at all, how can i make a socket server? in vb6 you make a winsock array ... normally the index 0 is the listener, and any other runtime loaded winsock control will acept all the connections from the clients ... i try to make a winsock array in jabaco, but is not working, so i think this is not the way to do this .. and i'm a little lost ...
I want to start making a Bicubic Filter ... a proyect to connect and is used as a secure gateway or proxy for tcp connections ...
Can someone help me with an example of a multi socket server?
Thanks a lot ... i have a lot of questions ... there is a manual or something?
I want to collaborate with examples and explanations .. but, the first person who need help at this moment is ME.
Bye4now.
Tr4d3r.
PD/Excellent application JABACO ... really cool ! Congrats
First at all, how can i make a socket server? in vb6 you make a winsock array ... normally the index 0 is the listener, and any other runtime loaded winsock control will acept all the connections from the clients ... i try to make a winsock array in jabaco, but is not working, so i think this is not the way to do this .. and i'm a little lost ...
I want to start making a Bicubic Filter ... a proyect to connect and is used as a secure gateway or proxy for tcp connections ...
Can someone help me with an example of a multi socket server?
Thanks a lot ... i have a lot of questions ... there is a manual or something?
I want to collaborate with examples and explanations .. but, the first person who need help at this moment is ME.
Bye4now.
Tr4d3r.
PD/Excellent application JABACO ... really cool ! Congrats
RE: TCP Server Help.
Same problem me and my friend are having, we're used to using Indexe's for each connection.Hello, excelent sample ... thanks a lot ... i'm a socket developer in VB6 ... i want to migrate all my applications to JABACO ... but, at this moment i'm really new, so i need to understand a lot of issues ...
First at all, how can i make a socket server? in vb6 you make a winsock array ... normally the index 0 is the listener, and any other runtime loaded winsock control will acept all the connections from the clients ... i try to make a winsock array in jabaco, but is not working, so i think this is not the way to do this .. and i'm a little lost ...
I want to start making a Bicubic Filter ... a proyect to connect and is used as a secure gateway or proxy for tcp connections ...
Can someone help me with an example of a multi socket server?
Thanks a lot ... i have a lot of questions ... there is a manual or something?
I want to collaborate with examples and explanations .. but, the first person who need help at this moment is ME.
Bye4now.
Tr4d3r.
PD/Excellent application JABACO ... really cool ! Congrats
We finally got our project working, we'll post some sampler code of our methods later, maybe we'll expand this lightchat into a 'larger' chat and post source. But anyways I'm about to head to bed, I'm just looking for one of the MySQL connectors that was posted here to add and the java ini file stuff ;p anyways im tired + im off
Manuel said: "You are also able to use the Javasocket directly"
Could anybody give an example how to do that in Jabaco ?
Thanks
Vicente
Could anybody give an example how to do that in Jabaco ?
Thanks
Vicente
The idea is to port one of the numerous Java socket samples to Jabaco.
As far as I know, there is no such sample available yet in this forum.
Manuel showed a possible starting link.
You'll find Java/Jabaco portings samples throughout this forum.
Give it a try!
A1880
As far as I know, there is no such sample available yet in this forum.
Manuel showed a possible starting link.
You'll find Java/Jabaco portings samples throughout this forum.
Give it a try!
A1880
Beginner
Location: Caracas, Venezuela - Bogota, Colombia
Occupation: Senior Developer - SLM Sistemas
Hello .. i convert the code to Jabaco and is working ...
Dim Sock As Winsockserver
Dim ClientSocket As Socket
Import java.net.*
Public Sub main(ByJava args() As String)
Dim myArgs() As String
myArgs = args
' [Your Source]
out.println "Starting..."
serverSocket = New ServerSocket(90)
out.println "Waiting Conections"
ClientSocket = serverSocket.accept()
out.println "Client Connected: " & ClientSocket.getRemoteSocketAddress.toString
Dim sout As PrintWriter = New PrintWriter(ClientSocket.getOutputStream(), True)
Dim sin As BufferedReader = New BufferedReader(New InputStreamReader(ClientSocket.getInputStream))
Dim inputLine As String , outputLine As String
inputLine= sin.readLine
While inputLine <> Null
out.println inputLine 'Write to console the received buffer
inputLine= sIn.readLine
Wend
Dim ClientSocket As Socket
Import java.net.*
Public Sub main(ByJava args() As String)
Dim myArgs() As String
myArgs = args
' [Your Source]
out.println "Starting..."
serverSocket = New ServerSocket(90)
out.println "Waiting Conections"
ClientSocket = serverSocket.accept()
out.println "Client Connected: " & ClientSocket.getRemoteSocketAddress.toString
Dim sout As PrintWriter = New PrintWriter(ClientSocket.getOutputStream(), True)
Dim sin As BufferedReader = New BufferedReader(New InputStreamReader(ClientSocket.getInputStream))
Dim inputLine As String , outputLine As String
inputLine= sin.readLine
While inputLine <> Null
out.println inputLine 'Write to console the received buffer
inputLine= sIn.readLine
Wend
Similar threads
-
Tips, Tricks, Samples & Tutorials »-
db2000 gpIPa [g]et [p]ublic [I]nternet [P]rotocol [a]ddress
(Jan 24th 2009, 7:16pm)
-
Tips, Tricks, Samples & Tutorials »-
db2000 TXT2PDF
(Jan 22nd 2009, 5:49pm)
-
Tips, Tricks, Samples & Tutorials »-
db2000 RCC ([R]esistor [C]olor [C]ode)
(Jan 20th 2009, 6:31pm)
