Sponsored Content
Top Forums Programming Write the source code for messenger Post 302261913 by sumedhajain on Wednesday 26th of November 2008 02:39:54 AM
Old 11-26-2008
code in C in unix using threading

Can anyone send me the chat code in C in unix using threading in a single program.like we have to assume there is no server..plz.. i need it badly
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Where can I review the source code?

A very n00b question: After compiling and installing software, where does the original source code reside? I'd like to study the source code of some of the ports I've installed. Thanks! :D (1 Reply)
Discussion started by: Aaron Van
1 Replies

2. Shell Programming and Scripting

write page source to standard output

I'm new to PERL, but I want to take the page source and write it to a file or standard output. I used perl.org as a test website. Here is the script: use strict; use warnings; use LWP::Simple; getprint('http://www.perl.org') or die 'Unable to get page'; exit 0; ... (1 Reply)
Discussion started by: wxornot
1 Replies

3. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

4. UNIX for Dummies Questions & Answers

Where can i get unix source code?

Sir please tell me where can i get source code for some unix kernal and shell also. (1 Reply)
Discussion started by: VIPUL15
1 Replies

5. Shell Programming and Scripting

Block of code replacement in Java source code through Unix script

Hi, I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory. finally { if (null != hibernateSession && hibernateSession.isOpen()) { //hibernateSession.close(); } } It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies

6. Linux

Source code

I need the source code of fedora. plz plz plz help me........... (1 Reply)
Discussion started by: neh
1 Replies

7. Shell Programming and Scripting

Source code compilation

Need assistance in Source code compilation . When installing a software compiling a source code . Whatever the output that prints on the screen i want to log it into a file. How can i see output and store the output to file ./configure make make install Is there other way of seeing output... (5 Replies)
Discussion started by: ajayram_arya
5 Replies

8. UNIX for Dummies Questions & Answers

Source code

hii... i am a biginner....and i have linux source code ,downloaded from some website ,a compressed file on windows and dont know how do compile them..... (4 Replies)
Discussion started by: M K Raju
4 Replies
ppp.Dialers(4)						     Kernel Interfaces Manual						    ppp.Dialers(4)

NAME
ppp.Dialers - PPP dialer description file format DESCRIPTION
The file describes how to dial each type of modem attached to the UNIX system that is to be made available for outbound PPP calls. exam- ines it when placing a call to a neighboring machine. When selects a line from it uses the field to select an entry in from which it uses the field to select an entry in then interprets the field from that dialer description. Format Entries are one to a line; blank lines are ignored. Comments begin with a and extend to the end of the line. Upper/lower case distinc- tions in the dialer field are significant for matching purposes, as are strings in the chat script. Fields on a line are separated by hor- izontal white space (blanks or tabs). If a chat script ends with a backslash the next line is considered a continuation of the chat script. Continuations may only occur in the midst of a chat script. Each entry must contain these fields, in this order: dialer The name of this dialer, to be matched against the dialer field in chat-script A description of the conversation that holds with the modem. Chat Script Particulars A chat script takes the form of a space-separated list of expect-send pairs. Each pair consists (at minimum) of a field to expect the end to send, then a field to send in response. Unless a string ends with will follow it by sending a carriage return character (ASCII 0x0d). Chat scripts are or where the following the hyphen is executed if the preceding fails to match received text. Certain special words may be used in the chat script to control the behavior of as it attempts to dial. Both ABORT and TIMEOUT must be in the phase of the chat script. If sees abort-string while executing the remainder of the chat script, abort the dialing attempt and note the failure in the log file. While executing the current chat script, wait timeout-time seconds for a response before considering the dialing attempt to have timed out. Writes have a fixed 60-second timeout. The expect-send couplet of 'sets the line parity accordingly: Set transmission parity based on the parity observed in characters received in strings. This is the default. Transmit characters with the parity bit set to zero (8 bits, no parity). Transmit characters with the parity bit set to one. Transmit characters with even parity. Transmit characters with odd parity. In the midst of either an string or a string, gets translated into the appropriate control character, and gets translated into x. Other special sequences are: Send or receive a space character (ASCII 0x20). Send or receive a horizontal tab character (ASCII 0x09). Send or receive a line feed character (ASCII 0x0a). Send or receive a carriage return character (ASCII 0x0d). Send or receive a backslash character (ASCII 0x5c). Send or receive a carat character (ASCII 0x5e). Send or receive the single character Ctrl-character (ASCII 0x00 through 0x1f). Send or receive a character, specified in octal digits. Pause for .25 second before proceeding (send only). Delay for two seconds before proceeding (send only). Send a break (.25 second of zero bits). Disable hangups (sets CLOCAL or LNOHANG). enable hangups (unsets CLOCAL or LNOHANG) (the default). Don't append a carriage return character after sending the preceding string (send only). Don't print succeeding send strings (e.g., a password) in any debugging or logging output. Subsequent sequences toggle mode. Insert the telephone number (found in the fifth field of here. EXAMPLES
# # Dialers - PPP dialers file # #Dialer Chat script T1600 ABORT NOsCARRIER ABORT NOsDIALTONE ABORT BUSY ABORT RRING RRING RRING ABORT ERROR TIMEOUT 5 "" AT OK-AT-OK ATS111=0DTT TIMEOUT 30 CONNECT # T2500-PEP ABORT NOsCARRIER ABORT NOsDIALTONE ABORT BUSY ABORT RRING RRING RRING ABORT ERROR TIMEOUT 5 "" AT OK-AT-OK ATS111=0DTT TIMEOUT 30 CONNECTsFAST # USRv32bis ABORT ERROR ABORT NOsANSWER ABORT NOsCARRIER ABORT BUSY ABORT RRING RRING RRING ABORT NOsDIALsTONE TIMEOUT 5 "" AT&F OK-ATQ0-OK ATB0E0X7&B1&H1&I0&K3&R2&S1 OK-AT-OK ATS01=1S02=255S19=0 OK-AT-OK ATDTT TIMEOUT 30 CONNECT AUTHOR
was developed by the Progressive Systems. SEE ALSO
pppd(1), ppp.Auth(4), ppp.Devices(4), ppp.Filter(4), ppp.Keys(4), ppp.Systems(4). RFC 1055. RFC 1144, RFC 1332, RFC 1548, ppp.Dialers(4)
All times are GMT -4. The time now is 11:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy