Urgent TCP/IP C Programming
by Jyotishmaan Ray
Hello All Fedora Lonux TCP/IP experts,
Hi!!
This is an urgent issue, which needs to be resolved at the earliest time!!!
Given platform : Fedora Linux OS(free open source), Version 16, with GCC (GNU compiler) and 2 C language programs, where one is jc.c which is a client program, and jsvc.c , which is a server program.
Problem: Both the programs compiled with warnings, which I had ignored. Most importantly, the server program is failing to bind the process to its port.
Reasons, which could not be explored yet, and not known to my knowledge.
Issues:
(1) On my system, in fedora linux environment, I failed to create two terminals, for executing two programs as a cient and and another as a server.
Can we not have two terminals at a time in one fedora linux environment.
(2) Kindly let me know why the server program is failing at the point of bind(...) function call.
What is wrong wioth my parameters, or anything else if I have missed ??
Kindly let me know!!
(3) Is it necessary to execute both the client and server programs in two different systems in a LAN.
I had earlier run both the processes in one system, however long time back, hence I forgot the exact hardware specfication ( that had in the system). But I remember it was DEC System, having all the GUI interface, in which I could have as many terminals as I wanted.
Note : In the given environment, of Linux fedora operating system, I can nt have more than one terminal ..? Any ideas, why there is such a limitation..? Is it that because of the stand along installation etc.
Kindly reply me all the answers, with server program binding well and exceutes such that, it goes into listening mode and the client program connects to it and finally sends a message to it before closing the connection.
Thank you in advance,
Jyotishmaan Ray
Thanks,
Jyotishmaan Ray
Moderator Of Spirituality-Paradise Group
http://yahoogroups.com/group/Spirituality-Paradise
Are You Spiritually Aware !!! Are You Enjoying Yourself !!! See What All You Had Been Missing !!!!
Please Join Immediately By Sending A Blank Mail @
Spirituality-Paradise-subscribe(a)yahoogroups.com
9 years, 7 months
ps -ef stack overflow Fedora 20
by Ger van Dijck
Hello,
Please look to the attached pages (4) in .pdf format acrobatreader the
ps -ef under fedora20 gives a stack overflow and I gues that therefor I
have a lot of problems on my system.
Greetings ,
Ger van Dijck.
9 years, 7 months
Fw: Urgent problem in TCP/Ip C programming!!!
by Jyotishmaan Ray
Thanks,
Jyotishmaan Ray
Moderator Of Spirituality-Paradise Group
http://yahoogroups.com/group/Spirituality-Paradise
Are You Spiritually Aware !!! Are You Enjoying Yourself !!! See What All You Had Been Missing !!!!
Please Join Immediately By Sending A Blank Mail @
Spirituality-Paradise-subscribe(a)yahoogroups.com
On Friday, September 12, 2014 8:11 PM, Jyotishmaan Ray <jyotishmaan(a)yahoo.com> wrote:
Hello All Fedora Lonux TCP/IP experts,
Hi!!
This is an urgent issue, which needs to be resolved at the earliest time!!!
Given platform : Fedora Linux OS(free open source), Version 16, with GCC (GNU compiler) and 2 C language programs, where one is jc.c which is a client program, and jsvc.c , which is a server program.
Problem: Both the programs compiled with warnings, which I had ignored. Most importantly, the server program is failing to bind the process to its port.
Reasons, which could not be explored yet, and not known to my knowledge.
Issues:
(1) On my system, in fedora linux environment, I failed to create two terminals, for executing two programs as a cient and and another as a server.
Can we not have two terminals at a time in one fedora linux environment.
(2) Kindly let me know why the server program is failing at the point of bind(...) function call.
What is wrong wioth my parameters, or anything else if I have missed ??
Kindly let me know!!
(3) Is it necessary to execute both the client and server programs in two different systems in a LAN.
I had earlier run both the processes in one system, however long time back, hence I forgot the exact hardware specfication ( that had in the system). But I remember it was DEC System, having all the GUI interface, in which I could have as many terminals as I wanted.
Note : In the given environment, of Linux fedora operating system, I can nt have more than one terminal ..? Any ideas, why there is such a limitation..? Is it that because of the stand along installation etc.
Kindly reply me all the answers, with server program binding well and exceutes such that, it goes into listening mode and the client program connects to it and finally sends a message to it before closing the connection.
Thank you in advance,
Jyotishmaan Ray
Thanks,
Jyotishmaan Ray
Moderator Of Spirituality-Paradise Group
http://yahoogroups.com/group/Spirituality-Paradise
Are You Spiritually Aware !!! Are You Enjoying Yourself !!! See What All You Had Been Missing !!!!
Please Join Immediately By Sending A Blank Mail @
Spirituality-Paradise-subscribe(a)yahoogroups.com
9 years, 7 months
weather server
by Patrick Dupre
Hello,
For now 2 days, my connection to the weather server seems not working.
How can I manage it?
Thank
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
9 years, 7 months
cups
by Patrick Dupre
Hello,
Every time that I turn off my computer, I need to do the following to have
the printer working again:
Use the configuration tool -> printer
Unlock the printer
remove the printer (-)
use hp-setup to add the printer by making a couple of "next".
Is there any way to make this process more automatic (line commands in a shell)?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
9 years, 7 months
Printer Idle - waiting for job to complete
by Tom Horsley
I just defined an ipp printer (a Toshiba e-Studio 3530c) and
I can print to it OK from fedora 20, but as soon as I print
one thing the system-config-printer icon gets a red circle
with a white - in it and the printer status stays as
Idle - Waiting for job to complete.
basically forever. The printout does come out, and the
print queue goes empty.
Is this normal? Is it a problem with the printer? Is it
a problem with cups?
9 years, 7 months
switchdesk
by JD
Seems like switchdesk only provides ability to switch to
kde
icewm
system defaults
whereas I have other desktop managers installed, like lxde, fvwm.
I looked to see of the selection menu might be controlled by a config
file. Did not find any file in /etc having the string switchdesk in it's
name.
I did find /etc/X11/xinit/Xsession
using it.
If someone knows how to add other desktop managers to switchdesk's menu,
without having to rebuild switchdesk, please sahre.
Thanx.
9 years, 7 months
Fedora 20 ps -ef stack overflow
by Ger van Dijck
Hello,
Fedora 20 , please study the attached "ps -ef" named foutenlijst and be
so kind to inform me if this severe error is a bug.
The problem did occur since hte last 6 or 7 Kernel updates.
Greetings,
Ger van Dijck.
9 years, 7 months
Still missing something on vlan - F19
by Robert Moskowitz
I am working on a system that has a stable MACaddr (an issue with many
arm SOC), so I don't suspect that as an issue.
cat /etc/udev/rules.d/70-persistent-net.rules
# Added by 'write_udev' for detected device 'eth0'.
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="02:c4:03:82:c1:53", NAME="eth0"
cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=test.htt-consult.com
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="none"
ONBOOT="yes"
TYPE="Ethernet"
NAME="System eth0"
cat /etc/sysconfig/network-scripts/ifcfg-eth0.16
DEVICE="eth0.16"
BOOTPROTO="dhcp"
vlan="yes"
ONBOOT="yes"
TYPE="Ethernet"
NAME="System eth0.16"
HOSTNAME="test.htt-consult.com"
IPV6INIT="yes"
ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether 02:c4:03:82:c1:53 brd ff:ff:ff:ff:ff:ff
inet6 fe80::c4:3ff:fe82:c153/64 scope link
valid_lft forever preferred_lft forever
Note I have set up the switch port so that ALL my vlans are accessable
from this port as 'tagged'. There are no 'untagged'. VALN 16 is one of
the available labels. I had earlier tried this with only VALN 16
available, and that did not work; I enabled all vlans then. None of the
vlans are untagged, so nothing is reachable the eth0.
It bothers me that eth0.16 does not even show in the 'ip addr show'
command output.
9 years, 7 months