> From: Kiran
> I have a requirement, to use TCP/IP connection to some 
> other process. I do not want to use an external 
> program. I was just checking whether there is any 
> option of using a library for sockets in jBase 
> Programming Language.

Low-level socket development with handles and byte counting is a
lot less necessary than most people think.  There are usually
higher-level protocols that can or be used, rather than a custom
protocol.

If you do "need" a client to a proprietary socket interface, you
could write a socket interface with Java, C#, VB.NET, or C++, and
call these directly from BASIC.  A client component for your
target server may already exist, and it will be much easier to
fit that with an interface from jBase than to do the socket work
for a direct connection.  In other words:

jBase< write-this >< existing-client >server

You don't even need the source to the existing client - and in
fact it would be more elegant and maintainable to use a proxy to
that code without the need to understand the internals.

I've done this sort of work before and as part of a service
engagement can provide you with a solution that's as simple as a
BASIC subroutine call to get the job done.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula R&D sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development services
remove.pleaseNebula-RnD.com/blog
Visit PickWiki.com! Contribute!


--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to