Click here to Skip to main content
15,896,063 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Compiler Pin
Olivier Gautherot24-Mar-09 5:03
Olivier Gautherot24-Mar-09 5:03 
GeneralRe: Compiler Pin
Eddy Vluggen24-Mar-09 5:17
professionalEddy Vluggen24-Mar-09 5:17 
GeneralRe: Compiler Pin
Olivier Gautherot24-Mar-09 5:36
Olivier Gautherot24-Mar-09 5:36 
GeneralRe: Compiler Pin
Eddy Vluggen24-Mar-09 7:50
professionalEddy Vluggen24-Mar-09 7:50 
GeneralRe: Compiler Pin
Luc Pattyn24-Mar-09 5:17
sitebuilderLuc Pattyn24-Mar-09 5:17 
GeneralRe: Compiler Pin
Olivier Gautherot24-Mar-09 5:29
Olivier Gautherot24-Mar-09 5:29 
AnswerRe: Compiler Pin
Henry Minute26-Mar-09 6:52
Henry Minute26-Mar-09 6:52 
Questionhow i can know if a pc use the internet to download or upload, there is a function in c++ that do this job? Pin
josephsaliba24-Mar-09 3:07
josephsaliba24-Mar-09 3:07 
hey guys my project is about how to limit the download and the upload from the internet, and it will be run on a server connected on many pcs, so the server will organize the limit of each pc, and manage the download and upload, and if one exceed it limit it sends a warrning message.

But i face a problem during implementation in c++, first i used the buffer to control the limit, but i don t know how i can know if any pc use the internet browser to download or upload and how i can get the data from the internet browser and transfer it to bytes and store it in the buffer:this is my code:

setlimit(int limit, int nbofpc)
{
Float limitbypc;
Limitbypc = limit/nbofpc;
For(int i=0; i<nbofpc;i++)>
Char buffer limitbypc;
Return 0;
} //and this method is to give the limit to each pc connected to the server

if(download) //how i can know 
{
void downloadlimit( )
{ AnsiString IP;
For(int i=0; i<nbofpc;>Switch (IP)
{Case ‘10.15.1.157’: bufferlimitbypc = fputs(data); //?????? how i can get the data from the internet browser and store it by bytes in the buffer.
If(sizeof(data)) == sizeof(buffer)
WriteString ("you can’t download more"); break;
Case ’10.15.1.158’: bufferlimitbypc = fputs(data); break;//?????????
If(sizeof(data)) == sizeof(buffer)
WriteString ("you can’t download more"); break;
……………
Case’10.15.1.164’: ……….; break; 

}
}
Return 0;}} 

if(upload) //how i can know ??????????  
{
void uploadlimit( )
{ AnsiString IP;
For(int i=0; i<nbofpc;>Switch (IP)
{Case ‘10.15.1.157’: bufferlimitbypc = fputs(data); //??????how i can get stor the data befor upload it by bytes in the buffer  
If(sizeof(data)) == sizeof(buffer)
WriteString ("you can’t upload more"); break;
Case ’10.15.1.158’: bufferlimitbypc = fputs(data); break;//?????????
If(sizeof(data)) == sizeof(buffer)
WriteString ("you can’t upload more"); break;
……………
Case’10.15.1.164’: ……….; break; 

}
}
Return 0;}} 

thanks
joseph
Question[Message Deleted] Pin
Majid Shahabfar23-Mar-09 22:12
Majid Shahabfar23-Mar-09 22:12 
AnswerRe: PersiaDevelopers.com Pin
Dave Kreskowiak24-Mar-09 4:06
mveDave Kreskowiak24-Mar-09 4:06 
AnswerRe: PersiaDevelopers.com Pin
0x3c024-Mar-09 6:02
0x3c024-Mar-09 6:02 
QuestionHelp needed with Smart device application developed with VB.NET. Pin
bheeem23-Mar-09 20:46
bheeem23-Mar-09 20:46 
AnswerRe: Help needed with Smart device application developed with VB.NET. Pin
Eddy Vluggen23-Mar-09 22:24
professionalEddy Vluggen23-Mar-09 22:24 
GeneralRe: Help needed with Smart device application developed with VB.NET. Pin
bheeem23-Mar-09 22:58
bheeem23-Mar-09 22:58 
GeneralRe: Help needed with Smart device application developed with VB.NET. Pin
Eddy Vluggen23-Mar-09 23:28
professionalEddy Vluggen23-Mar-09 23:28 
Questionunable to find a version of the run time to run this application, VB.NET Pin
krishnaveer23-Mar-09 19:51
krishnaveer23-Mar-09 19:51 
Questionplz helps me urgent............... Pin
josephsaliba23-Mar-09 12:41
josephsaliba23-Mar-09 12:41 
AnswerRe: plz helps me urgent............... Pin
Luc Pattyn23-Mar-09 16:06
sitebuilderLuc Pattyn23-Mar-09 16:06 
QuestionProgrammatically Submitting Forms and Screen-Scrapping Pin
kkadir23-Mar-09 10:04
kkadir23-Mar-09 10:04 
QuestionDoes .NET Framework have a Software Licensing manager ? Pin
theory200623-Mar-09 8:02
theory200623-Mar-09 8:02 
AnswerRe: Does .NET Framework have a Software Licensing manager ? Pin
Simon P Stevens24-Mar-09 0:19
Simon P Stevens24-Mar-09 0:19 
QuestionWindows CE application and i am using opennetcf. Please help Pin
bheeem22-Mar-09 21:02
bheeem22-Mar-09 21:02 
AnswerRe: Windows CE application and i am using opennetcf. Please help Pin
Eddy Vluggen22-Mar-09 23:05
professionalEddy Vluggen22-Mar-09 23:05 
GeneralRe: Windows CE application and i am using opennetcf. Please help Pin
bheeem22-Mar-09 23:10
bheeem22-Mar-09 23:10 
GeneralRe: Windows CE application and i am using opennetcf. Please help Pin
Eddy Vluggen22-Mar-09 23:43
professionalEddy Vluggen22-Mar-09 23:43 

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.