Click here to Skip to main content
15,915,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAny way to refresh a CHtmlView without it scrolling back to the top? Pin
Taka Muraoka6-Apr-08 0:43
Taka Muraoka6-Apr-08 0:43 
QuestionWSAENOBUFS error Pin
itai shmida5-Apr-08 23:01
itai shmida5-Apr-08 23:01 
QuestionRe: WSAENOBUFS error [modified] Pin
Eytukan6-Apr-08 0:50
Eytukan6-Apr-08 0:50 
GeneralRe: WSAENOBUFS error Pin
Mark Salsbery6-Apr-08 8:19
Mark Salsbery6-Apr-08 8:19 
GeneralRe: WSAENOBUFS error Pin
itai shmida13-Apr-08 19:35
itai shmida13-Apr-08 19:35 
Generaldefragmenttation disk by c++ Pin
th875-Apr-08 22:18
th875-Apr-08 22:18 
AnswerRe: defragmenttation disk by c++ Pin
Rajesh R Subramanian5-Apr-08 22:31
professionalRajesh R Subramanian5-Apr-08 22:31 
GeneralSocket programming in C Pin
ADTC#5-Apr-08 14:33
ADTC#5-Apr-08 14:33 
I am doing a socket programming in c. The basic client server works fine. And i have hard coded the ip address and port numbers as shown below:
service.sin_addr.s_addr = inet_addr("127.0.0.1");
service.sin_port = htons(55555);
Now i want to put the ip address and the port number in a text file and try to initialise the ip add and port no from this file. Can anyone give me an idea about hows i should write the ip add and port no in a text file and what are the commands required for initialise the ip add from the file.
cheers
GeneralRe: Socket programming in C [modified] Pin
rp_suman5-Apr-08 15:10
rp_suman5-Apr-08 15:10 
GeneralRe: Socket programming in C Pin
ADTC#5-Apr-08 15:39
ADTC#5-Apr-08 15:39 
QuestionRe: Socket programming in C Pin
rp_suman5-Apr-08 16:50
rp_suman5-Apr-08 16:50 
GeneralRe: Socket programming in C Pin
ADTC#5-Apr-08 16:53
ADTC#5-Apr-08 16:53 
GeneralRe: Socket programming in C [modified] Pin
rp_suman5-Apr-08 17:03
rp_suman5-Apr-08 17:03 
GeneralRe: Socket programming in C Pin
CPallini6-Apr-08 1:36
mveCPallini6-Apr-08 1:36 
GeneralRe: Socket programming in C Pin
Eytukan5-Apr-08 18:03
Eytukan5-Apr-08 18:03 
AnswerRe: Socket programming in C Pin
Himanshu Joshi5-Apr-08 18:35
Himanshu Joshi5-Apr-08 18:35 
Questioncapturing keyboard inputs Pin
Adnan Merter5-Apr-08 13:09
Adnan Merter5-Apr-08 13:09 
GeneralRe: capturing keyboard inputs Pin
Mark Salsbery5-Apr-08 13:18
Mark Salsbery5-Apr-08 13:18 
GeneralRe: capturing keyboard inputs Pin
Adnan Merter5-Apr-08 13:21
Adnan Merter5-Apr-08 13:21 
GeneralA bug made by "connectioin string" (ODBC) Pin
Joseph Marzbani5-Apr-08 9:15
Joseph Marzbani5-Apr-08 9:15 
GeneralRe: A bug made by "connectioin string" (ODBC) Pin
Mark Salsbery5-Apr-08 11:36
Mark Salsbery5-Apr-08 11:36 
QuestionHow to read the values inside a txt file into an array? Pin
johndoelee5-Apr-08 5:09
johndoelee5-Apr-08 5:09 
GeneralRe: How to read the values inside a txt file into an array? Pin
Eytukan5-Apr-08 7:55
Eytukan5-Apr-08 7:55 
GeneralRe: How to read the values inside a txt file into an array? [modified] Pin
Joseph Marzbani5-Apr-08 9:02
Joseph Marzbani5-Apr-08 9:02 
GeneralRe: How to read the values inside a txt file into an array? Pin
CPallini5-Apr-08 10:33
mveCPallini5-Apr-08 10:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.