Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ezeke1
  • Content: Threads
  • Order by date
  1. ezeke1

    Int array to Char array conversion?

    Hello, I'm trying to convert an integer array into an unsigned char array, but my experience with this is limited. I don't want to lose any information during the conversion. Can anyone provide some tips?
  2. ezeke1

    seg fault - link list within a link list

    The idea is to have a singly link list of nodes and each node has a local table of data represented by another link list. I know where the seg fault is coming from, but I don't know why. Rather than paste my whole program, I typed up this stub that shows what Im trying to do. If there are...
  3. ezeke1

    indent utility help

    I'm using the indent utility to reformat c source files and I notice that the options you provide to the utility affects the whole file. I'm wondering if its possible to only format certain sections of code instead of formatting all the code in the input file. For example I have a source file...
  4. ezeke1

    Socket Programming and passing data structures in stream

    Hello All, I'm doing some socket programming and I need to pass data structures in a tcp/ip stream. I understand how to send character arrays in the buffer and parse it on the other end because I can pick apart the data one byte at a time. However I'm having some difficulty grasping the...
  5. ezeke1

    private lan setup with redhat help

    Hello All, I apologize in advance if this is the wrong forum for my question. I have many computers running under redhat 9.0 and I want them on a private lan. Everything is setup and I'm using the class A (10.0.0.0) addresses for them. All of the computers are connected to a 16 port linksys...
  6. ezeke1

    read and write over tcp/ip sockets

    Hello All, I'm trying to create a distributed system using a tcp server/client model and I'm having trouble getting the clients and server to talk. The main communication protocol is to pass message structures over a connected socket but it appears the data is getting garbled after a...
  7. ezeke1

    fgets( ) and odd behavior

    Hello All, I'm experiencing some odd runtime behavior when using the fgets() function as an alternative to scanf(). I'm simply trying to read in some user input such as a string of text. I notice that if I use the fgets() call inside the main() routine, I get a user prompt. But if I call...
  8. ezeke1

    gcc compile error - undefined reference to `main`

    Hello All, I'm getting some gcc compile errors and the compiler is complaining with this message; /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(text+0x18): In function `_start`: ../sysdeps/i386/elf/start.S:77: undefined reference to `main' I'm running redhat 9.0 and after some...
  9. ezeke1

    Multiple definiton compile error

    Hi All, maybe you can help with this compile error. While compiling with gcc, I get an error that states callbacks.o: In function 'create_window1': /usr2/accounts/joeschmoe/project/interface.c:27: multiple definition of 'create_window1'...
  10. ezeke1

    Socket operation on non-socket error help

    Hello All, In writing a simple server application using C, I encountered a weird bind() error. After creating a socket, my bind will fail and I receive a return error of Error 88 Socket Operation on Nonsocket. Has anyone seen this problem before or know what may be causing it? I'll paste...
  11. ezeke1

    Error 88, socket operation on nonsocket

    Hello All, In writing a simple server application using C, I encountered a weird bind() error. After creating a socket, my bind will fail and I receive a return error of Error 88 Socket Operation on Nonsocket. Has anyone seen this problem before or know what may be causing it? I'll paste...
  12. ezeke1

    Modifying text files with unix script

    I have a handful of source files written in C code and I would like to change the header information in all of them. So basically I want to either add or remove the text in the file and replace it with something I want. What is the best approach to accomplish this? Here's an example...
  13. ezeke1

    Help with telneting to linux workstation

    Hi all, hopefully you can help me with this problem. There is a linux workstation that is assigned an ip via dhcp on the corporate network and there are a couple of users who cannot telnet to the box directly. They are able to access the workstation if they telnet from another machine on the...
  14. ezeke1

    Editing $PATH question

    Hi All, I'm new to linux and I would like to run some programs globally from any user account. I thought this can be done if we add the directory path to the PATH and this does seem to work. However, each time I log off, the PATH seems to return to it's default value. Does anyone know how I...
  15. ezeke1

    Net::Telnet script question

    Hi All, I wrote a simple script that telnets into a list hosts and issues a command. Everything works fine, but the script fails whenever there is a failed login attempt. I'd like to create a if condition inside my subroutine and when there is a failed authentication, the program simply skips...
  16. ezeke1

    Help with Net::Telnet script please

    I'm trying to write a simple telnet script to log into a router and the problem I'm encountering is that the script times out at "$telnet->login($username, $password);". Is it because I am expecting the wrong prompt? #!/usr/bin/perl -w #program to telnet to remote host use...

Part and Inventory Search

Back
Top