Aller au contenu
Règlement du forum ×
IPTV et arnaques ×

Multithreading sous C++/Linux


mouradski

Messages recommandés

Salem,

 

Je veux m'y mettre et j'aurai besoin de vos conseils pour les bibliothèques c++ disponibles sous Linux (portables de préférence). Je suis tombé sur boost mais j'attends vos conseils pour m'y mettre.

 

Le but est de m'initier à la programmation réseaux sous Linux :)

 

Merci.

 

Boost is a good one, There is another more adopted framework called ACE. Let me know if you need help with network dev.

Lien vers le commentaire
Partager sur d’autres sites

salam mouradski

 

 

pour une initiation:

dans ton terminal: "info libc" => tu trouvera toute la base.

faire un "info info" pour la documentation sur l'utilisation du navigateur info.

PS: q pour quitter

 

 

sinon le "man N printf"

ou N peut être:

1: commande

2: peut être une fonction système (propore au OS)

3: fonction de lib

3p: posix ...

...

 

 

tu a aussi un livre gratuit sur http://www.advancedlinuxprogramming.com/

vite (vive le monde open source ... irc ... mailing lists ).

 

 

concernant thread ou process pour linux à toi de choisir ... (IPC: PIPES, Socket unix tcp ...)

 

Boost ou ACE aucune idée.

 

salam :)

Lien vers le commentaire
Partager sur d’autres sites

Le but est de m'initier à la programmation réseaux sous Linux :)

.

 

ACE est très vaste, complexe et gère tout en high level. mais bon , tout dépend de ce que tu veux, si tu cherche à apprendre un framework pour développer des applications c'est vrai qu'un framework va te faire gagner beaucoup de temps / lignes de code.

Mais si tu veux vraiment comprendre la programmation réseau, y'a pas mieux que des sockets en C brute :)

Lien vers le commentaire
Partager sur d’autres sites

ACE est très vaste, complexe et gère tout en high level. mais bon , tout dépend de ce que tu veux, si tu cherche à apprendre un framework pour développer des applications c'est vrai qu'un framework va te faire gagner beaucoup de temps / lignes de code.

Mais si tu veux vraiment comprendre la programmation réseau, y'a pas mieux que des sockets en C brute :)

 

et pour le multi threading ? on fait comment pour exploiter la gestion et synchronisation des thread ? cela n'existe pas dans les biblio standards !!!

 

Merci :)

Lien vers le commentaire
Partager sur d’autres sites

concernant thread ou process pour linux à toi de choisir ... (IPC: PIPES, Socket unix tcp ...)

 

Boost ou ACE aucune idée.

 

salam :)

 

Ok merci tixx, je vais voir ça :)

 

EDIT : Encore merci, je pense que tout dont j'ai besoin pour commencer est sur le lien que t'as posté ;)

Modifié par mouradski
Lien vers le commentaire
Partager sur d’autres sites

Re c'est moi :) tixxDZ, j'ai trouvé le lien que tu m'a donné très complet mais j'ai vu aussi que c'était en pure C, le 100% procédural ne m'existe pas trop et j'aimerai savoir s'il y'a les mêmes lib au niveau au dessus c-à-d du C++ et de l'OO car mon objectif n'est pas de trop descendre au niveau de l'OS juste d'apprendre le multi-threading et de bien l'exploiter avec un langage disons plus compréhensible

comme le C++.

 

C'est pour ça que je vois Boost::Threads comme la meilleur solution pour le moment :)

 

Merci les amis.

Lien vers le commentaire
Partager sur d’autres sites

on objectif n'est pas de trop descendre au niveau de l'OS juste d'apprendre le multi-threading et de bien l'exploiter avec un langage disons plus compréhensible

comme le C++.

Merci les amis.

Ah dans ce cas oublie le C :D

Mais on peut exploiter les sémaphores/locks/mutex sous C avec les bibliothèques systèmes de Linux et même avec l'API windows. J'ai fais un exposé de comparaison là-dessus à la fac.

Lien vers le commentaire
Partager sur d’autres sites

salam, désolé pour le retard.

 

@mouradski

je n'ai pas beaucoup d'expérience avec la POO désolé, si Boost::Threads peut faire le travail alors vas-y :)

 

Concernant le multi-threading, je te conseile un peut de doc system et la doc de la libc comme a dit Walid dans ton temps libre :), car comme tu le sais tous les autres langages ne sont que des couches suplémentaires (qui peuvent réduire le control ou faciliter/... l'utilisation et l'implémentation ...) c'est un plus à gagner pour la compréhension, l'exploitation ... etc, mais il faut avoir le temps.

 

PS: le multi-threading n'est pas toujours la meilleur solution sous GNU/Linux, faut voir aussi le fork et les IPC.

Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • Messages

    • n today's digital era, online transactions have become an integral part of our daily lives. Whether it's shopping, paying bills, or subscribing to services, the convenience of making payments online is undeniable. However, with the rise in online transactions comes the risk of exposing sensitive financial information to potential threats such as hackers and identity thieves. This is where Virtual Credit Cards (VCCs) with balance come into play. Introduction to Virtual Credit Cards (VCCs) Virtual Credit Cards, or VCCs, are digital representations of traditional credit or debit cards. Unlike physical cards, VCCs exist purely in electronic form and are typically used for online transactions. They provide a layer of security by allowing users to generate temporary card numbers that are linked to their actual credit or debit card accounts. Understanding VCC with Balance A VCC with balance refers to a virtual credit card that comes pre-loaded with a certain amount of funds. This balance can be used to make online purchases just like a regular credit card. The primary difference lies in the virtual nature of the card, offering added security and anonymity to the user. Advantages of VCC with Balance Convenience and security: Users can make online payments without disclosing their actual credit/debit card details, reducing the risk of fraud and identity theft. Flexibility in online payments: VCCs with balance can be used across various online platforms and websites, providing a seamless payment experience. Anonymity in transactions: Since VCCs are not tied to a user's personal banking information, transactions remain anonymous, offering privacy and discretion. Why Buy VCC with Balance? The decision to buy a VCC with balance stems from the need for enhanced security and convenience in online transactions. Convenience and Security With cyber threats on the rise, protecting sensitive financial information is paramount. By using a VCC with balance, users can safeguard their personal credit/debit card details while still enjoying the convenience of online shopping. Flexibility in Online Payments VCCs with balance can be used across a wide range of online platforms, including e-commerce websites, subscription services, and online gaming platforms. This versatility makes them an ideal choice for users who frequently engage in online transactions. Anonymity in Transactions In an age where privacy is increasingly valued, VCCs offer users the ability to conduct transactions anonymously. By using a virtual credit card with a pre-loaded balance, users can protect their identity and financial information from prying eyes. Where to Buy VCC with Balance When it comes to purchasing a VCC with balance, it's essential to choose a reliable source or platform to ensure the legitimacy and security of the transaction. Reliable Sources and Platforms There are numerous online platforms and vendors that offer VCCs with balance. It's crucial to research and select a reputable provider with a track record of delivering quality virtual credit cards. Factors to Consider Before Purchasing Before buying a VCC with balance, consider factors such as the reputation of the seller, customer reviews, and the terms and conditions associated with the virtual credit card. Additionally, verify the security measures implemented by the provider to protect users' financial information. How to Choose the Right VCC with Balance With countless options available, choosing the right VCC with balance can be overwhelming. Here are some key features to look for when selecting a virtual credit card: Features to Look For Security measures: Ensure that the VCC provider implements robust security measures to protect users' personal and financial information. Compatibility: Check whether the VCC is accepted on the platforms or websites where you intend to use it. Customer support: Opt for a provider that offers reliable customer support in case of any issues or inquiries. Cost and fees: Consider the fees associated with purchasing and using the VCC, including loading fees and transaction fees. Avoiding Scams and Fraudulent Sellers Be wary of sellers offering VCCs with unrealistic benefits or excessively low prices. It's essential to conduct thorough research and verify the legitimacy of the provider before making a purchase to avoid falling victim to scams or fraudulent activities. Steps to Buy VCC with Balance The process of buying a VCC with balance typically involves the following steps: Registration Process Sign up for an account with a reputable VCC provider. Complete the registration process by providing necessary personal information and verifying your identity. Loading Balance onto the VCC Once registered, fund your VCC by transferring funds from your bank account or using alternative payment methods such as cryptocurrency. Your VCC is now ready to be used for online transactions. Using VCC with Balance Safely While VCCs offer enhanced security compared to traditional credit/debit cards, it's essential to take precautions to ensure safe and secure transactions. Tips for Secure Transactions Keep personal information private: Avoid sharing sensitive information such as your VCC number, expiration date, and CVV code with anyone. Monitor transactions: Regularly review your transaction history to detect any unauthorized or suspicious activity. Use secure networks: When making online purchases, ensure that you're connected to a secure and encrypted network to prevent interception of sensitive data. Protecting Personal Information Be cautious when entering your VCC details on unfamiliar or unsecured websites. Look for HTTPS encryption and other security indicators to ensure that your information is protected during online transactions. Benefits of Using VCC with Balance The use of VCCs with balance offers several benefits, including: Avoiding exposure of personal credit/debit card details: By using a VCC with balance, users can protect their primary credit/debit card information from potential threats. Preventing unauthorized transactions: VCCs with balance require authorization for each transaction, reducing the risk of unauthorized or fraudulent charges. Potential Risks and Challenges While VCCs with balance provide enhanced security and convenience, they are not without risks. Some potential risks and challenges include: Possibility of scams: Users should be vigilant and cautious when purchasing VCCs from unknown or unverified sources to avoid falling victim to scams or fraudulent activities. Limited acceptance in certain platforms: While VCCs are widely accepted across many online platforms, there may be instances where certain websites or merchants do not support virtual credit card payments. Legal Aspects and Regulations Before purchasing and using a VCC with balance, it's essential to understand the legal aspects and regulations governing virtual credit cards in your jurisdiction. Compliance with Local Laws Ensure that your use of VCCs with balance complies with local laws and regulations regarding online transactions and financial services. Ensuring Legitimacy of VCC Providers Verify the legitimacy of the VCC provider and ensure that they operate in accordance with applicable laws and regulations to avoid legal complications. Frequently Asked Questions (FAQs) What is a VCC? A VCC, or Virtual Credit Card, is a digital representation of a traditional credit or debit card that can be used for online transactions. How does a VCC with balance work? A VCC with balance comes pre-loaded with a certain amount of funds, allowing users to make online purchases without using their primary credit/debit card details. Is it legal to buy VCC with balance? The legality of buying VCCs with balance depends on the laws and regulations governing online transactions in your jurisdiction. It's essential to ensure compliance with applicable laws before purchasing and using a VCC. Can I use a VCC with balance internationally? In most cases, yes. VCCs with balance can typically be used for international transactions, provided that the issuing bank or provider allows for international usage. How do I ensure the security of my VCC with balance? To ensure the security of your VCC with balance, avoid sharing sensitive information, use secure networks for online transactions, and monitor your transaction history regularly for any unauthorized activity. Conclusion In conclusion, purchasing a VCC with balance offers a convenient and secure way to make online transactions while protecting sensitive financial information. By following the guidelines outlined in this article, users can enjoy the benefits of virtual credit cards while minimizing the risks associated with online payments.
    • Experience carefree connections with the top-rated site for casual dating adventures. Uninhibited dating for men Actual Girls Premier casual Dating
    • Make dating stress-free and enjoyable with the best casual dating experience. Free connections: adventures without obligations await you Authentic Maidens Super casual Dating
    • Toujours 15 sur Madrid pour ma part...
    • salam déjà ci tu regarde sur la page web de ton ONT tu trouver la référence actuel et la valeur de référence    ONT Information   Current Value Reference Value Optical Signal Sending Status Auto Auto TX Optical Power: 2.35 dBm 0.5 dBm to 5 dBm RX Optical Power: -19.07 dBm -27 dBm to –8 dBm Working Voltage: 3402 mV 3100 mV to 3500 mV Bias Current: 7 mA 0 mA to 90 mA Working Temperature: 50 ℃ –10 to +85 ℃    
×
×
  • Créer...