03-09-2005
Thank you soooo much for the reply......I have added my answers in red.....
can u understand the scenario now...or u want more info....
g.
--------------------------------------------------------------------------
You need to describe your network architecture a little more....
Do you have a webserver (i.e. Apache, etc) running on your UNIX machine? yesWhich flavour of UNIX are you running? it says HP Dome...i am not able to find outAlso; is this intended for use as a true internet site (i.e. accessible externally of your LAN), or is it just an intranet site (i.e. accessible from within your LAN only)? only used in intranet...not shared for internetAre you serving web pages from the UNIX box, or do you serve from a Windows machine (I ask this as you mention I.E.).my existing web pages are hosted from windows machine
For example - a possible scenario - say I have a Windows host (192.168.1.1) and a Linux host (192.168.1.2). The Windows host is running IIS (the Intranet site is running on this machine), and the Linux host is running Apache. Then, I can place the text file into the Apache DocumentRoot directory (/srv/www/htdocs, whatever), and then place the link to the file thusly...
<a href="http://192.168.1.2/mytextfile.txt">blah</a>
If you are hosting the web pages from the UNIX machine that the text file is on, then it's as easy as linking to the text file using a path such as
<a href="/path/under/htdocs/to/file/mytextfile.txt">blah</a>
Again, you need to provide a lot more information about your network, how you serve your webpages, and where the text file is located on the UNIX machine. This is all speculative.....
Cheers
ZB
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello Moto
I hope someone can help
We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers..
a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies
2. Shell Programming and Scripting
Hi,
example of Unix / Linux dialog utility is below.
I am going to use dialog as simple GUI for testing of a modem.
So I need to combine some dialog boxes into one.
I need to have input box, output box, info box, dialog box,
radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.
I have used the utility ZIP like the below.
zip -e <newfilename> df2_test_extract.dat
but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies
4. UNIX for Dummies Questions & Answers
In windows, I can create a shortcut for websites. It's a .url file.
the content of the file is like:
How can I open it, the .url file, in firefox or google chrome in Unix(or just ubuntu)? (2 Replies)
Discussion started by: hz_i3
2 Replies
5. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
6. Solaris
I know how to check if any file has a unix process using a file by looking at 'lsof <fullpath/filename>' command.
I think using lsof is very expensive. Also to make it accurate we need to inlcude fullpath of the file.
Is there another command that can tell if a file has a truely active... (12 Replies)
Discussion started by: kchinnam
12 Replies
7. Shell Programming and Scripting
Hello,
I work on Windows and I use Putty to access a remote UNIX server.
I am trying to build a shell script that will have as main task to open the
Windows command prompt (cmd) and run some Windows commands thereafter. The commands are actually file transfer commands that will download a file... (14 Replies)
Discussion started by: rookie2785
14 Replies
8. UNIX for Dummies Questions & Answers
Hi friends,
help me i downloaded some file from the Linux and i copied it to windows.Now i am unable to open those file. please help me how to open those file. the files are something like
test.tcl
note.tcl
Thanking you
Praveen (2 Replies)
Discussion started by: prakumar
2 Replies
inet(4f) inet(4f)
Name
inet - Internet protocol family
Syntax
#include <sys/types.h>
#include <netinet/in.h>
Description
The Internet protocol family is a collection of protocols that is layered on the Internet Protocol (IP) transport layer and that uses the
Internet address format. The Internet family provides protocol support for the SOCK_STREAM, SOCK_DGRAM, and SOCK_RAW socket types. The
SOCK_RAW interface provides access to the IP protocol.
Addressing
Internet addresses are 4-byte quantities, stored in network standard format. The include file defines this address as a discriminated
union.
Sockets bound to the Internet protocol family use the following addressing structure:
struct sockaddr_in {
short sin_family;
u_short sin_port;
struct in_addr sin_addr;
char sin_zero[8];
};
Sockets may be created with the address INADDR_ANY to effect ``wildcard'' matching on incoming messages.
Protocols
The Internet protocol family comprises the IP transport protocol, Internet Control Message Protocol (ICMP), Transmission Control Protocol
(TCP), and User Datagram Protocol (UDP). TCP is used to support the SOCK_STREAM abstraction, while UDP is used to support the SOCK_DGRAM
abstraction. A raw interface to IP and ICMP is available by creating an Internet socket of type SOCK_RAW.
See Also
tcp(4p), udp(4p), ip(4p)
inet(4f)