Results 1 to 5 of 5

Thread: Anyone know how to do in Linux?

  1. #1

    Thread Starter
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011

    Anyone know how to do in Linux?

    I've made a software....A network administration utility...It works fine on Windows platform... but now I want to extend it to other Platforms..
    One of my software component(not COM one) resides on client to give connectivity to my utility...This component heavily uses Windows API to do most of the work... Connection between controller and this component is made with Winsock...
    I know to make this utility run on other platform say Linux.. I'll have to rewrite the server component ( one resides on client) which may use X-Windows API..
    The problem now..How would I be able to establish a connection between my utility(running on Windows) and my Server Component(running on Linux) which language should I use to do programming in Linux? and how would the socket programming be possible in Linux...

    Any suggestions and help would be appreciated...
    MOIN.

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    There is no x-windows api.

    What you want is called BSD socket programming. It's all in C or java.

    Start here:
    http://docs.hp.com/hpux/onlinedocs/B...355-90136.html

  3. #3

    Thread Starter
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011
    There should be something with which we could control Linux sa we do in windows...There should be some system routines.. as a counterpart of Windows??
    Do you know what are they?

  4. #4
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    The routines are the standard library. They are they same for each flavor of unix, pretty much.

    Sockets are the same everywhere.

    What you want is a nice neat little control like winsock. There is none in unix. Sorry.

    Since you don't like my answer ask here -

    http://www.linuxquestions.org/questi...p?s=&forumid=1

    It's even in vbulletin format like V B F.

  5. #5
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    Socket programming in Unix is almost same as in Windows Socket API. If you were using Socket Control then it's not of any use. You'll probably have to learn the actual API that you can then implement on any OS with very little modification.
    Baaaaaaaaah

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