Jump to content

os's interacts

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1
mIXpRo

mIXpRo

    Newbie

  • Members
  • PipPip
  • 11 posts
hii,
i'm a new to programing , and i would be thankful if someone answers my question ,
sorry if it seems nobbie :-
how does programs like networking programs working on a different os like windows/linux interacts with one another ?
i mean when you write c program for instance the functions arent the same in both os , e.g accessing files on the system work differently on this os

thnx in advance .

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
TCP/IP or UDP
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
mIXpRo

mIXpRo

    Newbie

  • Members
  • PipPip
  • 11 posts
but how , sockets functions doesn't match ; think of it like this you write a program for the same purpose like file sharing , and you make to versions on for windows and one for linux how do this programs access another's os file system (files) .

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
The client takes care of the interaction between the systems, the underlaying network protocols (TCP/IP/UDP) and use of them are the exact same in any system.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It's not all that different from an HTTP or FTP request.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
mIXpRo

mIXpRo

    Newbie

  • Members
  • PipPip
  • 11 posts
Do you know of any book or an article so i can read more about this

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You may want to do research into Samba to get some more details. It's also not clear what kind of details you want. Do you understand how an HTTP server/client works?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
mIXpRo

mIXpRo

    Newbie

  • Members
  • PipPip
  • 11 posts
No not at all , i only started with c / cpp standard libs and expanded a little toward networking using c/cpp

#9
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I would recommend you start learning socket programming. You can use the Boost library with C++ to get cross-platform sockets.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog